From: dongwenjuan Date: Thu, 26 Sep 2019 09:06:52 +0000 (+0800) Subject: use `bash` to parse shell X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F40%2F68540%2F2;hp=16ee0f28ee0ad12b3f074bc09076a3ecf6e52844;p=releng.git use `bash` to parse shell Test runs failed because of no `source` command can be found. See: https://build.opnfv.org/ci/job/doctor-verify-fault_management-fuel-sample-x86_64-master/45/console Change-Id: I05cdcaec6e0a7289f92ad49e7abd35c3c848a877 Signed-off-by: dongwenjuan --- diff --git a/jjb/doctor/doctor.yaml b/jjb/doctor/doctor.yaml index ccdf66193..c66624c14 100644 --- a/jjb/doctor/doctor.yaml +++ b/jjb/doctor/doctor.yaml @@ -227,12 +227,14 @@ - ./doctor-env-presetup.sh - ../../utils/fetch_os_creds.sh - shell: | + #!/bin/bash + # prepare the env for test - source $HOME/opnfv-openrc.sh + . $HOME/opnfv-openrc.sh if [ -f $HOME/os_cacert ]; then export OS_CACERT=$HOME/os_cacert fi - source $HOME/opnfv-installer.sh + . $HOME/opnfv-installer.sh # run tox to trigger the test # As Jenkins user, it has no permission to send ICMP package