summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrohitsakala <rohitsakala@gmail.com>2017-02-07 01:36:37 +0530
committerrohitsakala <rohitsakala@gmail.com>2017-02-07 02:03:32 +0530
commit9fba1bdb9bff216c3d9a59e0b7ec61e7a2733922 (patch)
treec4915c389671f4e1979a9068a5bd493c28c40d57
parent37be24917bc1e00c587414fbb499011b0b6a2050 (diff)
Add pre-defined parameter for a phase job
The currentparameters for two phase jobs is set to true so that they run on opnfv-build-ubuntu defaults and the second phase job has a pre-defined parameter as it is to be run on testresults Change-Id: Id5feb94f407d29f6a3d5aa88d321666f3ff463b5 Signed-off-by: rohitsakala <rohitsakala@gmail.com>
-rw-r--r--jjb/releng/testapi-automate.yml11
1 files changed, 7 insertions, 4 deletions
diff --git a/jjb/releng/testapi-automate.yml b/jjb/releng/testapi-automate.yml
index 1c0bd5d7f..b06072b73 100644
--- a/jjb/releng/testapi-automate.yml
+++ b/jjb/releng/testapi-automate.yml
@@ -6,12 +6,10 @@
gs-pathname: ''
phase:
- - 'docker-update':
- slave-label: 'opnfv-build'
+ - 'docker-update'
- 'docker-deploy':
slave-label: 'testresults'
- - 'generate-doc':
- slave-label: 'opnfv-build'
+ - 'generate-doc'
jobs:
- 'testapi-automate-{stream}'
@@ -153,6 +151,7 @@
condition: SUCCESSFUL
projects:
- name: 'testapi-automate-docker-update-{stream}'
+ current-parameters: true
kill-phase-on: FAILURE
abort-all-job: true
- multijob:
@@ -160,6 +159,9 @@
condition: SUCCESSFUL
projects:
- name: 'testapi-automate-docker-deploy-{stream}'
+ current-parameters: false
+ node-label-name: SLAVE_LABEL
+ node-label: testresults
kill-phase-on: FAILURE
abort-all-job: true
- multijob:
@@ -167,6 +169,7 @@
condition: SUCCESSFUL
projects:
- name: 'testapi-automate-generate-doc-{stream}'
+ current-parameters: true
kill-phase-on: FAILURE
abort-all-job: true