[CORD-3121] Teardown minikube after helm-api-test, install xos-client in api test
Change-Id: I386c999d0a001aaeed221e0d0663fe6a370a75b7
diff --git a/jjb/pipeline/all-xos-api-test-helm.groovy b/jjb/pipeline/all-xos-api-test-helm.groovy
index 4437414..9dcb6ce 100644
--- a/jjb/pipeline/all-xos-api-test-helm.groovy
+++ b/jjb/pipeline/all-xos-api-test-helm.groovy
@@ -190,8 +190,13 @@
post {
always {
sh '''
- kubectl get pods --all-namespaces
- helm list
+ kubectl get pods --all-namespaces
+ helm list
+ helm delete --purge xos-core
+ if [[ "$GERRIT_PROJECT" =~ ^(rcord|vrouter|vsg|vtn|vtr|fabric|openstack|chameleon|exampleservice|simpleexampleservice|onos-service|olt-service|kubernetes-service)\$ ]]; then
+ helm delete --purge rcord-lite
+ fi
+ minikube delete
'''
step([$class: 'Mailer', notifyEveryUnstableBuild: true, recipients: "suchitra@opennetworking.org, you@opennetworking.org, kailash@opennetworking.org", sendToIndividuals: false])
}