diff options
author | ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> | 2015-07-24 14:25:51 +0900 |
---|---|---|
committer | ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> | 2015-07-24 14:37:18 +0900 |
commit | bcf1314bf6e9a082c4eb7b709b83cd91b00f3ed0 (patch) | |
tree | 0cb240a08418d428b33e4fc426bd699a9c6d53ac /test | |
parent | 4390dfea9ab033490ef0f94329d7098ffd0ca4dc (diff) |
test: fix missing sudo to remove useless docker images correctly
Tested-by: Hiroshi Yokoi <yokoi.hirochi@po.ntts.co.jp>
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'test')
-rw-r--r-- | test/scenario_test/ci-scripts/jenkins-build-script.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 "^<none>" | awk "{print $3}") +sudo docker rmi $(sudo docker images | grep "^<none>" | awk '{print $3}') sudo fab -f $GOBGP/test/scenario_test/lib/base.py make_gobgp_ctn --set tag=$GOBGP_IMAGE |