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?p=releng.git;a=commitdiff_plain;h=b7871b1916fc8941c39950a9fb05308432a3a065 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