summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjose.lausuch <jose.lausuch@ericsson.com>2015-12-03 00:33:48 +0100
committerjose.lausuch <jose.lausuch@ericsson.com>2015-12-03 00:33:48 +0100
commitd514e586852abd867fc7ad77c309eb0f28df02cc (patch)
tree91f76db749981cd78b20d171c0dab568e62230e2
parent407e21ea49e365d4f7473c797b1b45ad4e893da8 (diff)
Fix docker command to run in background in Functest jenkins job
Change-Id: I0c56f31107b3d97fbdde994581098bf913b02fdc Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
-rw-r--r--jjb/functest/functest.yml4
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)