[CORD-3059] kubernetes based jobs
Change-Id: I7fea5c9be7163031b942530d0132ea1df3beec46
diff --git a/jjb/cord-test/nightly-build-pipeline.yaml b/jjb/cord-test/nightly-build-pipeline.yaml
index 066a0f1..6bad2fa 100644
--- a/jjb/cord-test/nightly-build-pipeline.yaml
+++ b/jjb/cord-test/nightly-build-pipeline.yaml
@@ -409,3 +409,60 @@
- reverse:
jobs: 'build_{profile}_{pod}_manual_{branch}'
result: 'failure'
+- job-template:
+ name: 'build_{profile}_{kube-pod}_{branch}'
+ id: build_kube_pod_first
+ description: |
+ <!-- Managed by Jenkins Job Builder -->
+ Nightly Kubernetes tests on {kube-pod} <br /><br />
+ Created from job-template {id} from ci-management/jjb/cord-test/cord-test-pipeline.yaml <br />
+ Created by Suchitra Vemuri, suchitra@opennetworking.org <br />
+ Copyright (c) 2017 Open Networking Foundation (ONF)
+
+ <<: *test-pipe-job-boiler-plate
+
+ parameters:
+ - string:
+ name: TestNodeName
+ default: '{testvm}'
+ description: 'Jenkins node name of TestVM Node'
+
+ - string:
+ name: configRepoUrl
+ default: 'https://gerrit.opencord.org/pod-configs'
+ description: 'The URL of the POD configs repository'
+
+ - string:
+ name: configRepoBaseDir
+ default: 'pod-configs/'
+ description: 'The directory inside the POD configs repository'
+
+ - string:
+ name: configRepoFile
+ default: 'kubernetes-configs/{kube-pod}.yml'
+ description: 'The kubernetes deployment config file'
+
+ - string:
+ name: branch
+ default: '{branch}'
+
+ - string:
+ name: notificationEmail
+ default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org'
+ description: ''
+
+ concurrent: true
+
+ pipeline-scm:
+ script-path: '{Jenkinsfile}'
+ scm:
+ - git:
+ url: '{gerrit-server-url}/cord-tester'
+ branches:
+ - '{branch}'
+
+ triggers:
+ - timed: |
+ TZ=America/Los_Angeles
+ H {time} * * *
+
diff --git a/jjb/cord-test/rcord-lite.yaml b/jjb/cord-test/rcord-lite.yaml
new file mode 100644
index 0000000..bf494c3
--- /dev/null
+++ b/jjb/cord-test/rcord-lite.yaml
@@ -0,0 +1,19 @@
+---
+# POD Nightly Test Pipeline RCORD Lite Jobs
+
+- project:
+ name: rcord-lite-nightly-job
+
+ project-name: '{name}'
+
+ build-timeout: '300'
+
+ jobs:
+ # flex onf pod 1 kubernetes build jobs (rcord lite)
+ - 'build_kube_pod_first':
+ testvm: 'qa-testvm-pod1'
+ kube-pod: 'flex-onf-pod1'
+ profile: 'rcord-lite'
+ branch: 'master'
+ Jenkinsfile: 'Jenkinsfile.rcordlite'
+ time: '20'