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 <tbramwell@linuxfoundation.org>
# 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