From 64cdb00835ca7afddaaf8c4cb9f5b59335d4e2d9 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 27 Mar 2020 21:13:46 +0000 Subject: [PATCH] updated gocd.sh --- gocd.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gocd.sh b/gocd.sh index 3323a65d..907dcaa2 100755 --- a/gocd.sh +++ b/gocd.sh @@ -59,6 +59,11 @@ echo when_url_content "$server/go/pipelines#!/" '(?i:gocd)' echo +while curl -sS "$server" | grep -q 'GoCD server is starting'; do + echo 'waiting for server to finish starting up' + sleep 2 +done + echo "(re)creating config repo:" echo