1 2 3 4 5 6 7 8
#!/bin/bash until host github.com &>/dev/null do echo "Waiting until github.com is resolvable..." done git clone https://github.com/lfit/releng-global-jjb.git /opt/ciman/global-jjb /opt/ciman/global-jjb/jenkins-init-scripts/init.sh rm -rf /opt/ciman/releng-global-jjb/