summaryrefslogtreecommitdiffstats
path: root/ci/clean.sh
diff options
context:
space:
mode:
authorNarinder Gupta <narinder.gupta@canonical.com>2017-04-06 11:29:44 -0500
committerNarinder Gupta <narinder.gupta@canonical.com>2017-04-18 07:52:14 -0500
commitf817c710443ed6e96bae76a93538880ff2e37916 (patch)
treed271f0851524efc3b58f15325c5adf3642593f7f /ci/clean.sh
parenta35b7cea80b694c3d7b44ac74e3929ee775c76ce (diff)
modified to remove the errors.
Change-Id: I9a7dc34d9c40517863505df350c3c2e91156e295 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
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