diff options
author | jose.lausuch <jose.lausuch@ericsson.com> | 2016-01-14 13:35:31 +0100 |
---|---|---|
committer | jose.lausuch <jose.lausuch@ericsson.com> | 2016-01-14 13:35:31 +0100 |
commit | 1f50c80d90efc3ce9953b64e3716d08ac4f39653 (patch) | |
tree | 19ef848c9ee72063adf3843b92b9b3bb594b8a71 /jjb | |
parent | 9d0d0dfecdfc3982532265558238e1dff06e9620 (diff) |
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 <jose.lausuch@ericsson.com>
Diffstat (limited to 'jjb')
-rw-r--r-- | jjb/functest/functest-ci-jobs.yml | 6 |
1 files changed, 3 insertions, 3 deletions
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 |