X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Fjenkins-configure-global-vars.sh;h=873e0b336e509edb7999b3ca9159da63708aef34;hb=5f3d9b0c8343ee4dce1ed0d0c39f8677799b0c74;hp=86b1bcded5c5fa63cb92f96ac4fc617b49da3024;hpb=a8c7722c19cfca9f0361c578ce63bf552093dd0e;p=releng%2Fglobal-jjb.git diff --git a/shell/jenkins-configure-global-vars.sh b/shell/jenkins-configure-global-vars.sh index 86b1bcde..873e0b33 100644 --- a/shell/jenkins-configure-global-vars.sh +++ b/shell/jenkins-configure-global-vars.sh @@ -24,6 +24,11 @@ silos="${jenkins_silos:-jenkins}" set -eu -o pipefail +# shellcheck disable=SC1090 +. ~/lf-env.sh + +lf-activate-venv --python python3 lftools + for silo in $silos; do if [ ! -f "$WORKSPACE/jenkins-config/global-vars-$silo.sh" ]; then echo "WARN: jenkins-config/global-vars-$silo.sh does not exist. Skipping cloud management..."