- inject:
properties-content: 'jenkins_silos={jenkins-silos}'
- shell: !include-raw-escape: ../shell/jenkins-configure-clouds.sh
- - shell: rm "$HOME/.config/jenkins_jobs/jenkins_jobs.ini"
+ - shell: rm -f "$HOME/.config/jenkins_jobs/jenkins_jobs.ini"
- builder:
name: lf-jenkins-cfg-global-vars
- inject:
properties-content: 'jenkins_silos={jenkins-silos}'
- shell: !include-raw-escape: ../shell/jenkins-configure-global-vars.sh
- - shell: rm "$HOME/.config/jenkins_jobs/jenkins_jobs.ini"
+ - shell: rm -f "$HOME/.config/jenkins_jobs/jenkins_jobs.ini"
- lf_jenkins_configuration: &lf_jenkins_cfg_merge
name: lf-jenkins-cfg-merge
jenkins-ssh-credential: '{jenkins-ssh-credential}'
builders:
- - shell: !include-raw-escape:
- - ../shell/lftools-install.sh
+ - lf-infra-pre-build
- lf-jenkins-cfg-global-vars:
jenkins-silos: '{jenkins-silos}'
- lf-jenkins-cfg-clouds:
exit 0
fi
-#shellcheck source=/tmp/v/lftools/bin/activate disable=SC1091
-source "/tmp/v/lftools/bin/activate"
-
GROOVY_SCRIPT_FILE="jjb/global-jjb/jenkins-admin/manage_clouds.groovy"
OS_CLOUD_DIR="$WORKSPACE/jenkins-config/clouds/openstack"
SCRIPT_DIR="$WORKSPACE/archives/groovy-inserts"
GROOVY_SCRIPT_FILE="jjb/global-jjb/jenkins-admin/set_global_properties.groovy"
-# shellcheck source=/tmp/v/lftools/bin/activate disable=SC1091
-source "/tmp/v/lftools/bin/activate"
silos="${jenkins_silos:-jenkins}"
set -eu -o pipefail