Commenting out wait until stateful set is removed
Change-Id: I8ce3f865da05581c0e7370fe9a5896656f2a62f4
diff --git a/Jenkinsfile-attworkflow-build b/Jenkinsfile-attworkflow-build
index 23485bc..8228d78 100644
--- a/Jenkinsfile-attworkflow-build
+++ b/Jenkinsfile-attworkflow-build
@@ -50,15 +50,15 @@
return kubectl_deleted.toInteger() == 0
}
}
- timeout(5) {
- waitUntil {
- kubectl_deleted = sh returnStdout: true, script: """
- export KUBECONFIG=$WORKSPACE/${configBaseDir}/${configKubernetesDir}/${configFileName}.conf &&
- kubectl get statefulset --all-namespaces --no-headers | grep -E -v 'kube-system|docker-registry|mavenrepo|ponnet' | wc -l
- """
- return kubectl_deleted.toInteger() == 0
- }
- }
+ // timeout(5) {
+ // waitUntil {
+ // kubectl_deleted = sh returnStdout: true, script: """
+ // export KUBECONFIG=$WORKSPACE/${configBaseDir}/${configKubernetesDir}/${configFileName}.conf &&
+ // kubectl get statefulset --all-namespaces --no-headers | grep -E -v 'kube-system|docker-registry|mavenrepo|ponnet' | wc -l
+ // """
+ // return kubectl_deleted.toInteger() == 0
+ // }
+ // }
}
}
dir ("helm-charts") {