summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordongwenjuan <dong.wenjuan@zte.com.cn>2018-07-31 16:21:48 +0800
committerdongwenjuan <dong.wenjuan@zte.com.cn>2018-07-31 16:21:48 +0800
commit3547754e808a581b09c9d22e013a7d986d9f6cd1 (patch)
tree57f46c5d86aae3cd046d49205e25e439ac4a0362
parentef4f36aa1c2ff0819d73cde44f84b99a42e15c7e (diff)
specify the cacert file when it exits
Change-Id: Id122d99d6e599c31d3b5970aa88307843d379515 Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
-rw-r--r--jjb/doctor/doctor.yaml4
1 files changed, 3 insertions, 1 deletions
diff --git a/jjb/doctor/doctor.yaml b/jjb/doctor/doctor.yaml
index 25ea0ae9c..78e0e8a2e 100644
--- a/jjb/doctor/doctor.yaml
+++ b/jjb/doctor/doctor.yaml
@@ -154,7 +154,9 @@
- ../../utils/fetch_os_creds.sh
- shell: |
source $HOME/opnfv-openrc.sh
- source $HOME/os_cacert
+ if [ -f $HOME/os_cacert ]; then
+ export OS_CACERT=$HOME/os_cacert
+ fi
tox -e py35
# -------------------------------