From 38bb1d85c3fa0ee9ee6d7ebfb47f3c972bef5386 Mon Sep 17 00:00:00 2001 From: "jose.lausuch" Date: Fri, 6 May 2016 13:06:16 +0200 Subject: Functest, redirect to /dev/null the output of some docker commands That output is irrelevant and doesn't help to debug anything, and it is very extensive. Change-Id: If97ff388d5ab53c67d7cd5c5e6f2fff1f202e6a4 Signed-off-by: jose.lausuch --- jjb/functest/functest-ci-jobs.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'jjb') diff --git a/jjb/functest/functest-ci-jobs.yml b/jjb/functest/functest-ci-jobs.yml index 8bcf4c9de..bbdba9fa3 100644 --- a/jjb/functest/functest-ci-jobs.yml +++ b/jjb/functest/functest-ci-jobs.yml @@ -298,12 +298,11 @@ test -f ${HOME}/opnfv/functest/custom/params_${DOCKER_TAG} && custom_params=$(cat ${HOME}/opnfv/functest/custom/params_${DOCKER_TAG}) echo "Functest: Pulling image opnfv/functest:${DOCKER_TAG}" - docker pull opnfv/functest:$DOCKER_TAG >${redirect} + docker pull opnfv/functest:$DOCKER_TAG >/dev/null cmd="sudo docker run --privileged=true -id ${envs} ${labconfig} ${sshkey} ${res_volume} ${custom_params} opnfv/functest:${DOCKER_TAG} /bin/bash" echo "Functest: Running docker run command: ${cmd}" ${cmd} >${redirect} - docker ps -a >${redirect} sleep 5 container_id=$(docker ps | grep "opnfv/functest:${DOCKER_TAG}" | awk '{print $1}' | head -1) echo "Container ID=${container_id}" @@ -355,6 +354,6 @@ image_tags=($(docker images | grep opnfv/functest | awk '{print $2}')) for tag in "${image_tags[@]}"; do echo "Removing docker image opnfv/functest:$tag..." - docker rmi opnfv/functest:$tag >${redirect} + docker rmi opnfv/functest:$tag >/dev/null done fi -- cgit 1.2.3-korg