From 96e1a8494d4aa5bb2f438e2686dbdde54e1c8b5d Mon Sep 17 00:00:00 2001 From: Dan Callaghan Date: Jun 14 2017 06:35:42 +0000 Subject: Jenkinsfile: longer timeout for OpenShift services to come up OpenShift sometimes randomly takes quite a long time to bring up all services (and in particular, to make the db service reachable by the web service). Let's try a longer timeout (30 minutes) and see if that helps avoid spurious failures. --- diff --git a/Jenkinsfile b/Jenkinsfile index 38e2908..c1b537f 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -130,7 +130,7 @@ node('fedora') { def objects = openshift.create(models) echo "Waiting for pods with label environment=${environment_label} to become Ready" def pods = openshift.selector('pods', ['environment': environment_label]) - timeout(15) { + timeout(30) { pods.untilEach(3) { def conds = it.object().status.conditions for (int i = 0; i < conds.size(); i++) {