From: Trevor Bramwell Date: Fri, 6 Apr 2018 19:56:52 +0000 (-0700) Subject: Keep Jenkins Job Builder from upgrading to 2.0 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=27c64e932dc74a90f3b4b90d4fe7ad8524d9228c;p=releng%2Fci-workshop.git Keep Jenkins Job Builder from upgrading to 2.0 jenkins-job-builder (JJB) 2.0 adds support for the post build script plugin and defaults to assuming the newest version (postbuildscript:2.X.X) is installed. The new version of postbuildscript is not yet supported in global-jjb, so installing a newer version of JJB breaks the initial population of the ci-management repo. Change-Id: I873dda9d7c58ae33d4f0c0417eb95929397861ae Signed-off-by: Trevor Bramwell --- diff --git a/init/config-ci-environment.sh b/init/config-ci-environment.sh index c839529..272f86a 100644 --- a/init/config-ci-environment.sh +++ b/init/config-ci-environment.sh @@ -133,7 +133,7 @@ fi # Upload Jenkins Jobs if [ ! -f /init/step-7.done ]; then cd $CI_MANAGEMENT_REPO - pip install jenkins-job-builder + pip install "jenkins-job-builder<2.0.0" cat > $CI_MANAGEMENT_REPO/jenkins.ini <<-EOF [job_builder] ignore_cache=True