From bd52f21f15da02be9db5f6cf8164a4a2a2011eb4 Mon Sep 17 00:00:00 2001 From: Andrei Dinin Date: Tue, 2 Sep 2014 17:27:59 -0700 Subject: [PATCH] Ignore `vagrant destroy` failures in ci-box-bats Signed-off-by: Kris Hicks --- ci/ci-box-bats.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ci/ci-box-bats.sh b/ci/ci-box-bats.sh index 044a20a9..52495eda 100755 --- a/ci/ci-box-bats.sh +++ b/ci/ci-box-bats.sh @@ -19,7 +19,10 @@ trap cleanup EXIT echo $CANDIDATE_BUILD_NUMBER +set +e vagrant destroy local -f +set -e + rm -rf /var/lib/jenkins/.bosh_cache/* || true vagrant box add bosh-lite-${BOX_TYPE}-ubuntu-trusty-${CANDIDATE_BUILD_NUMBER}.box --name bosh-lite-ubuntu-trusty --force