From 7956c4b09208016fe72334228bf54db9a8db3a1f Mon Sep 17 00:00:00 2001 From: Steve Arch Date: Fri, 26 Oct 2018 12:14:15 +0100 Subject: [PATCH] Fixed teardown to use new jx context --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 5fa4488575..aaf274ff9b 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -78,7 +78,7 @@ pipeline { } sh "echo now tearing down the team ${TEAM}" - sh "jx uninstall -b -y --namespace ${TEAM}" + sh "jx uninstall -b --context `kubectl config current-context` --namespace ${TEAM}" } } }