Make sure that jjb-cleanup.sh allows unbound vars
[releng/global-jjb.git] / jenkins-init-scripts / README
1 The files in this directory are for initializing a Jenkins minion just before
2 the cloud plugin hands the minion over to Jenkins.
3
4 init.sh is the entry point script which then calls all other scripts.
5
6 init.sh also provides a local init script entry point by checking for the
7 existance of the file CIMAN_ROOT/jenkins-init-scripts/local-init.sh. If this
8 file exists it can be used to further customize the server node before handing
9 it to Jenkins for job use.
10
11 To use this create a managed file in Jenkins with the contents:
12
13     #!/bin/bash
14     git clone --recurse-submodules https://gerrit.example.org/r/ci-management.git /opt/ciman
15     /opt/ciman/jjb/global-jjb/jenkins-init-scripts/init.sh