adding pod build job at qct1 and qct3
Change-Id: I7331acc3907a82944bb3b36169aaa9d02b715520
diff --git a/jjb/cord-test/cord-test-pipeline.yaml b/jjb/cord-test/cord-test-pipeline.yaml
index 73e36a6..8c9a129 100644
--- a/jjb/cord-test/cord-test-pipeline.yaml
+++ b/jjb/cord-test/cord-test-pipeline.yaml
@@ -20,26 +20,44 @@
stream: 'master'
jenkins-path: 'Jenkinsfile'
+- job-pod-plate: &job-pod-plate
+ name: job-pod-plate
+ pod:
+ - 'qct-cord-pod1'
+ - 'qct-cord-pod3'
+
+- job-config-plate: &job-config-plate
+ name: job-config-plate
+ config:
+ - 'qct-pod1.yml'
+ - 'qct-pod3.yml'
- job-version-plate: &job-version-plate
name: job-version-plate
version:
- 'master'
+ - 'cord-5.0'
+ - 'cord-4.1'
+ - 'cord-4.0'
- job-template:
- name: 'automated-nightly-build-qct4-cord-master'
+ name: 'build-{pod}-{version}'
description: |
<!-- Managed by Jenkins Job Builder -->
- It builds nighlty a full POD using R-CORD at QCT - POD 4 <br /><br />
+ It builds nighlty a full POD at {pod} <br /><br />
Created by Kailash Khalasi - kailash@opennetworking.org<br />
Copyright (c) 2017 Open Networking Foundation (ONF)
<<: *test-pipe-job-boiler-plate
+ <<: *job-pod-plate
+
+ <<: *job-config-plate
+
parameters:
- string:
name: devNodeName
- default: 'qct-cord-pod4'
+ default: '{pod}'
description: 'Jenkins node name of Dev Node'
- string:
@@ -54,7 +72,7 @@
- string:
name: configRepoFile
- default: 'deployment-configs/qct-pod4.yml'
+ default: 'deployment-configs/{config}'
description: 'The deployment config file'
- string:
@@ -62,18 +80,8 @@
default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org'
description: ''
- - lf-infra-parameters:
- project: 'CordTest'
- branch: 'master'
- stream: 'master'
- lftools-version: '<1.0.0'
-
concurrent: true
- triggers:
- - timed: |
- TZ=America/Los_Angeles
- H 21 * * *
pipeline-scm:
script-path: 'Jenkinsfile'
@@ -87,10 +95,12 @@
- project:
name: nightly-build-pipeline
- project-name: 'automated-build-pipeline'
+ <<: *job-pod-plate
+ <<: *job-version-plate
+
+ project-name: '{name}'
build-timeout: '300'
- build-node: 'qct-cord-pod-04'
jobs:
- - 'automated-nightly-build-qct4-cord-master'
+ - 'build-{pod}-{version}'