From bcf1314bf6e9a082c4eb7b709b83cd91b00f3ed0 Mon Sep 17 00:00:00 2001 From: ISHIDA Wataru Date: Fri, 24 Jul 2015 14:25:51 +0900 Subject: test: fix missing sudo to remove useless docker images correctly Tested-by: Hiroshi Yokoi Signed-off-by: ISHIDA Wataru --- test/scenario_test/ci-scripts/jenkins-build-script.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/scenario_test/ci-scripts/jenkins-build-script.sh b/test/scenario_test/ci-scripts/jenkins-build-script.sh index ac42289b..5eb2cb50 100644 --- a/test/scenario_test/ci-scripts/jenkins-build-script.sh +++ b/test/scenario_test/ci-scripts/jenkins-build-script.sh @@ -15,7 +15,7 @@ cd $GOBGP ls -al git log | head -20 -sudo docker rmi $(docker images | grep "^" | awk "{print $3}") +sudo docker rmi $(sudo docker images | grep "^" | awk '{print $3}') sudo fab -f $GOBGP/test/scenario_test/lib/base.py make_gobgp_ctn --set tag=$GOBGP_IMAGE -- cgit v1.2.3