X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Fjjb-merge-job.sh;h=3b34fa813338888a57a4b07e8c6b706fc280b94d;hb=f216bdeee46b3c3299868bc6fdd2753785358f0a;hp=8c54b623d4581e516af14e3c0041d78edf1fd6cc;hpb=854da1e33dd03f1569d0766dbedda123dd5af4ea;p=releng%2Fglobal-jjb.git diff --git a/shell/jjb-merge-job.sh b/shell/jjb-merge-job.sh index 8c54b623..3b34fa81 100644 --- a/shell/jjb-merge-job.sh +++ b/shell/jjb-merge-job.sh @@ -10,7 +10,14 @@ ############################################################################## echo "---> jjb-merge-job.sh" +workers="${JJB_WORKERS:-0}" + # Ensure we fail the job if any steps fail. set -eu -o pipefail -jenkins-jobs update --recursive --delete-old --workers 4 --exclude jjb-test jjb +# shellcheck disable=SC1090 +source ~/lf-env.sh + +lf-activate-venv jenkins-job-builder setuptools==65.7.0 + +jenkins-jobs update --recursive --delete-old --workers "$workers" jjb/