diff options
author | jose.lausuch <jose.lausuch@ericsson.com> | 2015-12-02 23:34:41 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.206> | 2015-12-02 23:34:41 +0000 |
commit | d33a59dc129807774c64452b97154e2c86bd7b16 (patch) | |
tree | 089ced62a705a821be40f357f991d3db878f1f00 | |
parent | 1fe23f24fb850069a78fde8cf67b675a8f7b6a9f (diff) | |
parent | d514e586852abd867fc7ad77c309eb0f28df02cc (diff) |
Merge "Fix docker command to run in background in Functest jenkins job"
-rw-r--r-- | jjb/functest/functest.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jjb/functest/functest.yml b/jjb/functest/functest.yml index 53da3eec5..e4f1260ae 100644 --- a/jjb/functest/functest.yml +++ b/jjb/functest/functest.yml @@ -476,8 +476,8 @@ echo "Functest: Start Docker and prepare environment" envs="INSTALLER_TYPE=${INSTALLER_TYPE} -e INSTALLER_IP=${INSTALLER_IP}" docker pull opnfv/functest:latest_stable - echo "Functest: Running docker run command: docker run -i -e $envs opnfv/functest /bin/bash &" - docker run -i -e $envs opnfv/functest:latest_stable /bin/bash & + echo "Functest: Running docker run command: docker run -i -e $envs opnfv/functest:latest_stable /bin/bash &" + docker run -id -e $envs opnfv/functest:latest_stable /bin/bash docker ps -a sleep 5 container_id=$(docker ps | grep 'opnfv/functest:latest_stable' | awk '{print $1}' | head -1) |