From: Andrew Grimberg Date: Thu, 16 Dec 2021 16:23:56 +0000 (-0800) Subject: Fix: Standardize more openStackUserdata X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=e3130de5760d96d6c068589bbe316731a2800b61;p=ci-management.git Fix: Standardize more openStackUserdata Use the upstream global-jjb directly instead of indirectly via current submodule linkage Issue-ID: CIMAN-33 Change-Id: Ifba946af4e8c852fa55f41f77a93725bbe962d30 Signed-off-by: Andrew Grimberg --- diff --git a/jenkins-config/managed-config-files/openstackUserData/jenkins-init-script/content b/jenkins-config/managed-config-files/openstackUserData/jenkins-init-script/content index 10ec58582..9f9c16f00 100644 --- a/jenkins-config/managed-config-files/openstackUserData/jenkins-init-script/content +++ b/jenkins-config/managed-config-files/openstackUserData/jenkins-init-script/content @@ -1,12 +1,10 @@ #!/bin/bash -gerrit=gerrit.onap.org -until host ${gerrit} &>/dev/null +until host github.com &>/dev/null do - echo "Waiting until ${gerrit} is resolvable..." + echo "Waiting until github.com is resolvable..." done - -git clone --recurse-submodules https://${gerrit}/r/ci-management /opt/ciman -/opt/ciman/jjb/global-jjb/jenkins-init-scripts/init.sh +git clone https://github.com/lfit/releng-global-jjb.git /opt/ciman/global-jjb +/opt/ciman/global-jjb/jenkins-init-scripts/init.sh IPADDR=$(facter ipaddress) HOSTNAME=$(facter hostname)