prepare installer info for doctor test
[releng.git] / jjb / doctor / doctor.yaml
index 25ea0ae..858fb5f 100644 (file)
               - ./doctor-env-presetup.sh
               - ../../utils/fetch_os_creds.sh
       - shell: |
+          # prepare the env for test
           source $HOME/opnfv-openrc.sh
-          source $HOME/os_cacert
-          tox -e py35
+          if [ -f $HOME/os_cacert ]; then
+              export OS_CACERT=$HOME/os_cacert
+          fi
+          source $HOME/opnfv-installer.sh
+
+          # run tox to trigger the test
+          tox -e py34
 
 # -------------------------------
 # publisher macros