Patch I68e242297db03752fcc415e5465e7bfa8ab66d79 in global-jjb added
support for a centralized jenkins-init-script. Update bootstrap
instructions to refer to that instead of having projects create their
own.
Change-Id: If7dc0eb8f972fd08de018228758e2fb6944bd392
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
#!/bin/bash
-git clone https://gerrit.example.org/r/ci-management.git /ci-management
-/ci-management/jenkins-scripts/jenkins-init-script.sh
-rm -rf /ci-management
+until host gerrit.example.org &>/dev/null
+do
+ echo "Waiting until gerrit.example.org is resolvable..."
+done
+
+git clone --recurse-submodules https://gerrit.example.org/r/ci-management /opt/ciman
+/opt/ciman/jjb/global-jjb/jenkins-init-scripts/init.sh