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>
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}'
condition: SUCCESSFUL
projects:
- name: 'testapi-automate-docker-update-{stream}'
+ current-parameters: true
kill-phase-on: FAILURE
abort-all-job: true
- multijob:
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:
condition: SUCCESSFUL
projects:
- name: 'testapi-automate-generate-doc-{stream}'
+ current-parameters: true
kill-phase-on: FAILURE
abort-all-job: true