Call lf-activate-venv() to create venv to install jenkins-jobs. Remove
references to jjb-cleanup.sh & jjb-install.sh scripts. Some jobs still
depend on them, so they have to remain for now.
Issue: RELENG-2557
Change-Id: Ib6b8a6e65113a874994a447cb628ca08dc9604c0
Signed-off-by: Tim Johnson <tijohnson@linuxfoundation.org>
- inject:
properties-content: JJB_WORKERS={jjb-workers}
- shell: !include-raw-escape:
- - ../shell/jjb-install.sh
- ../shell/jjb-merge-job.sh
- - ../shell/jjb-cleanup.sh
- job-template:
name: "{project-name}-jjb-merge"
# Ensure we fail the job if any steps fail.
set -eu -o pipefail
+# shellcheck disable=SC1090
+source ~/lf-env.sh
+
+lf-activate-venv jenkins-job-builder
+
jenkins-jobs update --recursive --delete-old --workers "$workers" jjb/