summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--jjb/doctor/doctor.yaml12
1 files changed, 10 insertions, 2 deletions
diff --git a/jjb/doctor/doctor.yaml b/jjb/doctor/doctor.yaml
index 566625edd..66b7382f2 100644
--- a/jjb/doctor/doctor.yaml
+++ b/jjb/doctor/doctor.yaml
@@ -118,6 +118,8 @@
branch: '{branch}'
- '{installer}-defaults'
- 'doctor-slave-parameter'
+ - 'doctor-parameter':
+ inspector: '{inspector}'
scm:
- git-scm-gerrit
builders:
@@ -131,6 +133,13 @@
# -------------------------------
# parameter macros
# -------------------------------
+- parameter:
+ name: 'doctor-parameter'
+ parameters:
+ - string:
+ name: INSPECTOR_TYPE
+ default: '{inspector}'
+ description: 'inspector component'
# -------------------------------
# builder macros
@@ -141,11 +150,10 @@
builders:
- 'clean-workspace-log'
- shell: |
- export INSTALLER_TYPE={installer}
- export INSPECTOR_TYPE={inspector}
!include-raw:
- ./doctor-env-presetup.sh
- ../../utils/fetch_os_creds.sh
+ - shell: |
source $HOME/opnfv-openrc.sh
source $HOME/os_cacert
tox -e py35