X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=jenkins-init-scripts%2FREADME;fp=jenkins-init-scripts%2FREADME;h=85487864665201ad3551f7021f554ea99bd6d534;hb=d9aedddc8722e75fd24f9c7a9209e96ee5cea507;hp=0000000000000000000000000000000000000000;hpb=f269be13382489a33818bdbb262796b5923a4197;p=releng%2Fglobal-jjb.git diff --git a/jenkins-init-scripts/README b/jenkins-init-scripts/README new file mode 100644 index 00000000..85487864 --- /dev/null +++ b/jenkins-init-scripts/README @@ -0,0 +1,15 @@ +The files in this directory are for initializing a Jenkins minion just before +the cloud plugin hands the minion over to Jenkins. + +init.sh is the entry point script which then calls all other scripts. + +init.sh also provides a local init script entry point by checking for the +existance of the file CIMAN_ROOT/jenkins-init-scripts/local-init.sh. If this +file exists it can be used to further customize the server node before handing +it to Jenkins for job use. + +To use this create a managed file in Jenkins with the contents: + + #!/bin/bash + git clone https://gerrit.example.org/r/ci-management.git /opt/ciman + /opt/ciman/jjb/global-jjb/jenkins-init-scripts/init.sh