From 1bebb7f5836e7fd44ada95ebb0798b67ff624ada Mon Sep 17 00:00:00 2001 From: =?utf8?q?C=C3=A9dric=20Ollivier?= Date: Tue, 29 Aug 2017 10:22:04 +0200 Subject: [PATCH] Do not redirect errors in ${redirect} MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit ${redirect} can be equal to /dev/null. Change-Id: Ie66ee7ca2da92270de8619399a7f362acff8873a Signed-off-by: Cédric Ollivier --- jjb/functest/set-functest-env.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jjb/functest/set-functest-env.sh b/jjb/functest/set-functest-env.sh index e54c3bf13..81203b806 100755 --- a/jjb/functest/set-functest-env.sh +++ b/jjb/functest/set-functest-env.sh @@ -33,7 +33,7 @@ if [ "$BRANCH" != 'stable/danube' ]; then echo "Functest: Download images that will be used by test cases" images_dir="${HOME}/opnfv/functest/images" chmod +x ${WORKSPACE}/functest/ci/download_images.sh - ${WORKSPACE}/functest/ci/download_images.sh ${images_dir} > ${redirect} 2>&1 + ${WORKSPACE}/functest/ci/download_images.sh ${images_dir} > ${redirect} images_vol="-v ${images_dir}:/home/opnfv/functest/images" echo "Functest: Images successfully downloaded" fi -- 2.16.6