Change verification code to check NEM on COMAC strictly
Change-Id: I212628719ddcc20e38bafc67b4993971f0b3c30d
diff --git a/Jenkinsfile-comac-release-build b/Jenkinsfile-comac-release-build
index 8d05dee..b21e665 100644
--- a/Jenkinsfile-comac-release-build
+++ b/Jenkinsfile-comac-release-build
@@ -165,9 +165,9 @@
timeout(10) {
waitUntil {
prometheus_running = sh returnStdout: true, script: """
- kubectl get pods | grep -i prometheus | grep -i running | grep -e "1/1" -e "2/2" | wc -l
+ kubectl get pods | grep -i prometheus | grep -v Running | wc -l
"""
- return prometheus_running.toInteger() == 6
+ return prometheus_running.toInteger() == 0
}
}
// grafana