From: Morgan Richomme Date: Fri, 4 Dec 2015 11:00:54 +0000 (+0100) Subject: fix syntax error, var labconfig seen as a command X-Git-Tag: test-tag~118 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=edfe03ce57cd3c581c92a7426dfcdb71fc35a337;p=releng.git fix syntax error, var labconfig seen as a command JIRA: RELENG-60 Change-Id: I340d7106e1fa42d815c93bd3aaf82a11625ba8e0 Signed-off-by: Morgan Richomme --- diff --git a/jjb/functest/functest.yml b/jjb/functest/functest.yml index 740bf3526..f911d95f0 100644 --- a/jjb/functest/functest.yml +++ b/jjb/functest/functest.yml @@ -496,14 +496,14 @@ fi echo "Functest: Start Docker and prepare environment" envs="INSTALLER_TYPE=${INSTALLER_TYPE} -e INSTALLER_IP=${INSTALLER_IP} -e NODE_NAME=${NODE_NAME}" - labconfig = "" + labconfig="" # If production lab then creds may be retrieved dynamically # If dev lab, credentials may not be the default ones, just provide a path to put them into docker if [ -n "${LAB_CONFIG}" ]; then labconfig="-v ${LAB_CONFIG}:/home/opnfv/functest/conf/openstack.creds" fi docker pull opnfv/functest:latest_stable - cmd = "docker run -id -e $envs ${labconfig} opnfv/functest:latest_stable /bin/bash" + cmd="docker run -id -e $envs ${labconfig} opnfv/functest:latest_stable /bin/bash" echo "Functest: Running docker run command: ${cmd}" ${cmd} docker ps -a