diff options
author | Jose Lausuch <jose.lausuch@ericsson.com> | 2016-12-19 10:20:07 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2016-12-19 10:20:07 +0000 |
commit | 9911d9b69b179876f8179bfeae22147542ebb3fc (patch) | |
tree | 6c0db304bc9ed53d5b7e02d8d96cd8b03068e6f4 /jjb | |
parent | 488e028f74e588c979d31144c409c425b29cc6fd (diff) | |
parent | d78d0e1e358d294f5af61e4e800eeac67c23e56a (diff) |
Merge "Bug-Fix: Fix clean_image flag does not take effect"
Diffstat (limited to 'jjb')
-rwxr-xr-x | jjb/functest/functest-cleanup.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jjb/functest/functest-cleanup.sh b/jjb/functest/functest-cleanup.sh index 3c4c7f965..a1ae67d99 100755 --- a/jjb/functest/functest-cleanup.sh +++ b/jjb/functest/functest-cleanup.sh @@ -10,7 +10,7 @@ if [[ ! -z $(docker ps -a | grep opnfv/functest) ]]; then fi # Remove existing images if exist -if [[ $CLEAN_DOCKER_IMAGES ]] && [[ ! -z $(docker images | grep opnfv/functest) ]]; then +if [[ $CLEAN_DOCKER_IMAGES == true ]] && [[ ! -z $(docker images | grep opnfv/functest) ]]; then echo "Docker images to remove:" docker images | head -1 && docker images | grep opnfv/functest >${redirect} image_tags=($(docker images | grep opnfv/functest | awk '{print $2}')) |