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=5f0a072eaa28cce05df739a616f9d71492e0e252;hb=HEAD;hpb=6f714fdac06a476b776a0019eef4ea7983a2253d diff --git a/jjb/iec/iec-compass-destroy.sh b/jjb/iec/iec-compass-destroy.sh index 5f0a072..3c1993d 100755 --- a/jjb/iec/iec-compass-destroy.sh +++ b/jjb/iec/iec-compass-destroy.sh @@ -1,5 +1,11 @@ #!/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 +sudo virsh destroy host2 +sudo virsh destroy host3 + exit 0