summaryrefslogtreecommitdiffstats
path: root/ci/clean.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ci/clean.sh')
-rwxr-xr-xci/clean.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/ci/clean.sh b/ci/clean.sh
index a142ca7f..feecd70a 100755
--- a/ci/clean.sh
+++ b/ci/clean.sh
@@ -24,6 +24,7 @@ fi
if [[ "$jujuver" > "2" ]]; then
controllername=`awk 'NR==1{print substr($1, 1, length($1)-1)}' deployconfig.yaml`
cloudname=`awk 'NR==1{print substr($1, 1, length($1)-1)}' deployconfig.yaml`
+ juju destroy-controller $controllername --destroy-all-models -y || true
juju kill-controller $controllername --timeout 10s -y || true
rm -rf precise
rm -rf trusty