diff options
author | dongwenjuan <dong.wenjuan@zte.com.cn> | 2019-09-26 17:06:52 +0800 |
---|---|---|
committer | dongwenjuan <dong.wenjuan@zte.com.cn> | 2019-09-26 17:25:35 +0800 |
commit | b7871b1916fc8941c39950a9fb05308432a3a065 (patch) | |
tree | 6b6fb7fc14fc11434bcd81fd729d00dc3d9dd06f /jjb | |
parent | 16ee0f28ee0ad12b3f074bc09076a3ecf6e52844 (diff) |
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 <dong.wenjuan@zte.com.cn>
Diffstat (limited to 'jjb')
-rw-r--r-- | jjb/doctor/doctor.yaml | 6 |
1 files changed, 4 insertions, 2 deletions
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 |