From d514e586852abd867fc7ad77c309eb0f28df02cc Mon Sep 17 00:00:00 2001 From: "jose.lausuch" Date: Thu, 3 Dec 2015 00:33:48 +0100 Subject: Fix docker command to run in background in Functest jenkins job Change-Id: I0c56f31107b3d97fbdde994581098bf913b02fdc Signed-off-by: jose.lausuch --- jjb/functest/functest.yml | 4 ++-- 1 file 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) -- cgit 1.2.3-korg