summaryrefslogtreecommitdiffstats
path: root/jjb/doctor
diff options
context:
space:
mode:
authordongwenjuan <dong.wenjuan@zte.com.cn>2018-02-08 15:07:10 +0800
committerdongwenjuan <dong.wenjuan@zte.com.cn>2018-02-11 16:27:57 +0800
commita5a0c933ea5aa5c6b3a7e485e663c9fb8f52f736 (patch)
tree9967fcb876fee20534ea7251162bb0ea3be30d36 /jjb/doctor
parent467fd46ba8e91795e7471f12edb44d68693e57ab (diff)
Doctor: pass project parameter to other job
From the failure log of doctor verify ci, project parameter is not passed to other jobs. see: https://build.opnfv.org/ci/job/doctor-verify-sample-master/33/console Change-Id: I6a53cd609a261d90cdc0e1e10a3d7b05a515349e Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
Diffstat (limited to 'jjb/doctor')
-rw-r--r--jjb/doctor/doctor.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/jjb/doctor/doctor.yml b/jjb/doctor/doctor.yml
index d8f43c9b2..ba76b8abb 100644
--- a/jjb/doctor/doctor.yml
+++ b/jjb/doctor/doctor.yml
@@ -88,11 +88,14 @@
projects:
- name: 'doctor-verify-unit-test-{stream}'
predefined-parameters: |
+ PROJECT=$PROJECT
GERRIT_BRANCH=$GERRIT_BRANCH
GERRIT_REFSPEC=$GERRIT_REFSPEC
GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
kill-phase-on: FAILURE
+ current-parameters: true
+ git-revision: true
- job-template:
name: 'doctor-verify-unit-test-{stream}'
@@ -136,33 +139,42 @@
projects:
- name: 'doctor-{task}-apex-{inspector}-x86_64-{stream}'
predefined-parameters: |
+ PROJECT=$PROJECT
GERRIT_BRANCH=$GERRIT_BRANCH
GERRIT_REFSPEC=$GERRIT_REFSPEC
GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
kill-phase-on: FAILURE
+ current-parameters: true
+ git-revision: true
- multijob:
name: 'doctor-verify-fuel-inspector'
execution-type: PARALLEL
projects:
- name: 'doctor-{task}-fuel-{inspector}-x86_64-{stream}'
predefined-parameters: |
+ PROJECT=$PROJECT
GERRIT_BRANCH=$GERRIT_BRANCH
GERRIT_REFSPEC=$GERRIT_REFSPEC
GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
kill-phase-on: FAILURE
+ current-parameters: true
+ git-revision: true
- multijob:
name: 'doctor-verify-fuel-inspector'
execution-type: PARALLEL
projects:
- name: 'doctor-{task}-fuel-{inspector}-aarch64-{stream}'
predefined-parameters: |
+ PROJECT=$PROJECT
GERRIT_BRANCH=$GERRIT_BRANCH
GERRIT_REFSPEC=$GERRIT_REFSPEC
GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
kill-phase-on: FAILURE
+ current-parameters: true
+ git-revision: true
- job-template:
name: 'doctor-{task}-{installer}-{inspector}-{arch}-{stream}'