fix path for joid using LAB_CONFIG 59/5959/1
authorMorgan Richomme <morgan.richomme@orange.com>
Fri, 8 Jan 2016 16:48:44 +0000 (17:48 +0100)
committerMorgan Richomme <morgan.richomme@orange.com>
Fri, 8 Jan 2016 16:48:44 +0000 (17:48 +0100)
Change-Id: Ie96370c488fb8bc2c33d3ce422e93bb3487a84fc
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
jjb/functest/functest-ci-jobs.yml

index 249f9f0..6f202d8 100644 (file)
             elif [[ ${INSTALLER_TYPE} == 'joid' ]]; then
                 # If production lab then creds may be retrieved dynamically
                 # creds are on the jumphost, always in the same folder
-                labconfig="-v $HOME/joid_config/admin-openrc:/home/opnfv/functest/conf/openstack.creds"
+                labconfig="-v $LAB_CONFIG/admin-openrc:/home/opnfv/functest/conf/openstack.creds"
                 # If dev lab, credentials may not be the default ones, just provide a path to put them into docker
                 # replace the default one by the customized one provided by jenkins config
-                if [ -n "${LAB_CONFIG}" ]; then
-                    labconfig="-v ${LAB_CONFIG}:/home/opnfv/functest/conf/openstack.creds"
-                fi
             fi
             echo "Functest: Start Docker and prepare environment"
             envs="INSTALLER_TYPE=${INSTALLER_TYPE} -e INSTALLER_IP=${INSTALLER_IP} -e NODE_NAME=${NODE_NAME}"