X-Git-Url: https://gerrit.akraino.org/r/gitweb?p=ci-management.git;a=blobdiff_plain;f=jjb%2Fiec%2Fiec-compass-destroy.sh;h=3c1993d298b55219b560e763a2ec6a4445b8d95f;hp=fbd448b6d0e3ec4a0fb157c5a163de6ede8c400d;hb=HEAD;hpb=9895e7fd200b0c092968fab6194345bfc9328bcb diff --git a/jjb/iec/iec-compass-destroy.sh b/jjb/iec/iec-compass-destroy.sh index fbd448b..3c1993d 100755 --- a/jjb/iec/iec-compass-destroy.sh +++ b/jjb/iec/iec-compass-destroy.sh @@ -1,5 +1,7 @@ #!/bin/bash -set -e + +# Do not exit this script if one of the cleanup steps fails +set +e rm -rf compass4nfv sudo virsh destroy host1