Fix topdown and zerotouch build scripts to check 2 containers in onos pod
Change-Id: Id0ed752f4ed1837f35d52bf6f72655fce9754abd
diff --git a/Jenkinsfile-rcordlite-topdown-build b/Jenkinsfile-rcordlite-topdown-build
index d1eabf1..1284c26 100644
--- a/Jenkinsfile-rcordlite-topdown-build
+++ b/Jenkinsfile-rcordlite-topdown-build
@@ -130,7 +130,7 @@
waitUntil {
onos_completed = sh returnStdout: true, script: """
export KUBECONFIG=$WORKSPACE/${configBaseDir}/${configKubernetesDir}/${configFileName}.conf &&
- kubectl get pods | grep -i onos | grep -i running | grep 1/1 | wc -l
+ kubectl get pods | grep -i onos | grep -i running | grep 2/2 | wc -l
"""
return onos_completed.toInteger() == 1
}
diff --git a/Jenkinsfile-rcordlite-zerotouch-build b/Jenkinsfile-rcordlite-zerotouch-build
index e413ff7..4bf0026 100644
--- a/Jenkinsfile-rcordlite-zerotouch-build
+++ b/Jenkinsfile-rcordlite-zerotouch-build
@@ -130,7 +130,7 @@
waitUntil {
onos_completed = sh returnStdout: true, script: """
export KUBECONFIG=$WORKSPACE/${configBaseDir}/${configKubernetesDir}/${configFileName}.conf &&
- kubectl get pods | grep -i onos | grep -i running | grep 1/1 | wc -l
+ kubectl get pods | grep -i onos | grep -i running | grep 2/2 | wc -l
"""
return onos_completed.toInteger() == 1
}