summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--jjb/doctor/doctor.yaml6
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