compute node status should be 2

Change-Id: Ie5083e24a3cba2876f70122145078bd443d89243
diff --git a/Jenkinsfile b/Jenkinsfile
index 74229ab..e79bb49 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -80,7 +80,7 @@
             timeout(time:45) {
                 waitUntil {
                     try {
-                        out = sh (returnStdout: true, script:"sshpass -p ${headnodepass} ssh -oStrictHostKeyChecking=no -l ${headnodeuser} 10.90.0.251 curl -sS http://$ip:4243/provision/ | jq -c '.[] | select(.status | contains(1))'").trim()
+                        out = sh (returnStdout: true, script:"sshpass -p ${headnodepass} ssh -oStrictHostKeyChecking=no -l ${headnodeuser} 10.90.0.251 curl -sS http://$ip:4243/provision/ | jq -c '.[] | select(.status | contains(2))'").trim()
                         return out != ""
                     } catch (exception) {
                         return false