From: jose.lausuch Date: Thu, 14 Jan 2016 12:35:31 +0000 (+0100) Subject: functest: results dir docker volume bugfix X-Git-Tag: brahmaputra.1.0~213 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=1f50c80d90efc3ce9953b64e3716d08ac4f39653;p=releng.git functest: results dir docker volume bugfix This fixes this error: line 25: =-v /home/jenkins-ci/opnfv/functest/reports:/home/opnfv/functest/results: No such file or directory Change-Id: I6b196ba47f42a54854ba11bc29c61b73c017b1a8 Signed-off-by: jose.lausuch --- diff --git a/jjb/functest/functest-ci-jobs.yml b/jjb/functest/functest-ci-jobs.yml index 946ee1acb..3a2114f3f 100644 --- a/jjb/functest/functest-ci-jobs.yml +++ b/jjb/functest/functest-ci-jobs.yml @@ -201,16 +201,16 @@ # replace the default one by the customized one provided by jenkins config fi echo "Functest: Start Docker and prepare environment" - envs="INSTALLER_TYPE=${INSTALLER_TYPE} -e INSTALLER_IP=${INSTALLER_IP} \ + envs="-e INSTALLER_TYPE=${INSTALLER_TYPE} -e INSTALLER_IP=${INSTALLER_IP} \ -e NODE_NAME=${NODE_NAME} -e DEPLOY_SCENARIO=${DEPLOY_SCENARIO}" dir_result="${HOME}/opnfv/functest/reports" mkdir -p ${dir_result} rm -rf ${dir_result}/* - $res_volume="-v ${dir_result}:/home/opnfv/functest/results" + res_volume="-v ${dir_result}:/home/opnfv/functest/results" docker pull opnfv/functest:latest_stable - cmd="sudo docker run --privileged=true -id -e $envs ${labconfig} ${sshkey} ${res_volume} opnfv/functest:latest_stable /bin/bash" + cmd="sudo docker run --privileged=true -id ${envs} ${labconfig} ${sshkey} ${res_volume} opnfv/functest:latest_stable /bin/bash" echo "Functest: Running docker run command: ${cmd}" ${cmd} docker ps -a