X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Fjenkins-configure-clouds.sh;h=cd50da09568bd83d135c6a8c67dbd51dcbe7161e;hb=d1b7f48bb76729ddde974357b4de845db71bb5a8;hp=c2df0919fce8cfa06bc49fd44663558565fe895e;hpb=0b1d0ba4945b93dc5d86fffef20f4be44fc5a2f9;p=releng%2Fglobal-jjb.git diff --git a/shell/jenkins-configure-clouds.sh b/shell/jenkins-configure-clouds.sh index c2df0919..cd50da09 100644 --- a/shell/jenkins-configure-clouds.sh +++ b/shell/jenkins-configure-clouds.sh @@ -13,9 +13,22 @@ # Configuration is read from $WORKSPACE/jenkins-config/clouds/openstack/$cloud/cloud.cfg # # Requirements: lftools must be installed to /tmp/v/lftools +# # Parameters: +# +# WORKSPACE: The path to the local ci-management repository. # jenkins_silos: Space separated list of Jenkins silos to push -# configuration to. (default: jenkins) +# configuration to. This must match a configuration section +# in the config file located at +# ~/.config/jenkins_jobs/jenkins_jobs.ini config file. +# (default: jenkins) +# +# Local testing can be performed by exporting the parameters "WORKSPACE" and +# "jenkins_silos" as environment variables. For example: +# +# export WORKSPACE=/tmp/ci-management +# export jenkins_silos=sandbox +# bash ./jjb/global-jjb/shell/jenkins-configure-clouds.sh echo "---> jenkins-configure-clouds.sh" if [ ! -d "$WORKSPACE/jenkins-config/clouds" ]; then