adding post-actions build after 6.0 builds
Change-Id: I1cfacfc23407a5c6391935679ce3f7fe44c9eec3
diff --git a/jjb/cord-test/nightly-build-pipeline.yaml b/jjb/cord-test/nightly-build-pipeline.yaml
index f97356a..a5bed10 100644
--- a/jjb/cord-test/nightly-build-pipeline.yaml
+++ b/jjb/cord-test/nightly-build-pipeline.yaml
@@ -254,3 +254,65 @@
- reverse:
jobs: 'build_{profile}_{config-pod}_{branch}'
result: 'success'
+
+- job-template:
+ name: 'build_{profile}_{config-pod}_{branch}_post_actions'
+ id: post_build_actions
+ description: |
+ <!-- Managed by Jenkins Job Builder -->
+ Post Actions on {config-pod} triggered by build_{config-pod}_{branch}. Service ofagent restart required <br /><br />
+ Created from job-template {id} from ci-management/jjb/cord-test/cord-test-pipeline.yaml <br />
+ Created by Kailash Khalasi - kailash@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: cordRepoUrl
+ default: '{gerrit-server-url}'
+ description: 'The URL of the CORD Project repository'
+
+ - string:
+ name: configBaseDir
+ default: 'pod-configs'
+ description: 'The directory inside the POD configs repository'
+
+ - string:
+ name: configDeploymentDir
+ default: 'deployment-configs'
+ description: 'The deployment configs folder'
+
+ - string:
+ name: configFileName
+ default: '{config-pod}'
+ description: 'The 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:
+ - reverse:
+ jobs: 'build_{profile}_{config-pod}_{branch}'
+ result: 'failure'
diff --git a/jjb/cord-test/rcord-lite.yaml b/jjb/cord-test/rcord-lite.yaml
index 154ddd1..0686772 100644
--- a/jjb/cord-test/rcord-lite.yaml
+++ b/jjb/cord-test/rcord-lite.yaml
@@ -31,6 +31,22 @@
configurePod: true
time: '22'
+ # flex pod1 with olt/onu postactions job
+ - 'post_build_actions':
+ testvm: 'qa-testvm-pod'
+ config-pod: 'flex-pod1-olt'
+ profile: 'rcord-topdown'
+ branch: 'cord-6.0'
+ Jenkinsfile: 'Jenkinsfile-postactions'
+
+ # flex pod1 with olt/onu postactions job
+ - 'post_build_actions':
+ testvm: 'qa-testvm-pod'
+ config-pod: 'flex-pod1-olt'
+ profile: 'rcord-zerotouch'
+ branch: 'cord-6.0'
+ Jenkinsfile: 'Jenkinsfile-postactions'
+
# flex pod1 with olt/onu kubernetes master build jobs (rcord lite)
- 'build_pod_timer':
testvm: 'qa-testvm-pod'