From 3547754e808a581b09c9d22e013a7d986d9f6cd1 Mon Sep 17 00:00:00 2001 From: dongwenjuan Date: Tue, 31 Jul 2018 16:21:48 +0800 Subject: [PATCH] specify the cacert file when it exits Change-Id: Id122d99d6e599c31d3b5970aa88307843d379515 Signed-off-by: dongwenjuan --- jjb/doctor/doctor.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 # ------------------------------- -- 2.16.6