← Back to team overview

canonical-hw-cert team mailing list archive

[Merge] ~pwlars/hwcert-jenkins-jobs:restrict-jjb-version into hwcert-jenkins-jobs:master

 

Paul Larson has proposed merging ~pwlars/hwcert-jenkins-jobs:restrict-jjb-version into hwcert-jenkins-jobs:master.

Requested reviews:
  hwcert-jenkins (hwcert-jenkins)

For more details, see:
https://code.launchpad.net/~pwlars/hwcert-jenkins-jobs/+git/hwcert-jenkins-jobs/+merge/441111

This should get things going again
-- 
Your team hwcert-jenkins is requested to review the proposed merge of ~pwlars/hwcert-jenkins-jobs:restrict-jjb-version into hwcert-jenkins-jobs:master.
diff --git a/.pmr-merge-hook b/.pmr-merge-hook
index 4bec18a..1624605 100755
--- a/.pmr-merge-hook
+++ b/.pmr-merge-hook
@@ -5,6 +5,6 @@ set -e
 rm -rf jjbenv
 virtualenv -q -p python3 jjbenv
 . jjbenv/bin/activate
-pip install -qq jenkins-job-builder
+pip install -qq "jenkins-job-builder<5.0"
 
 jenkins-jobs --conf test.conf test production.yaml:jobs > /dev/null
diff --git a/jobs/infrastructure/deploy/deploy-hwcert-jobs.sh b/jobs/infrastructure/deploy/deploy-hwcert-jobs.sh
index 52037ba..c95e07b 100644
--- a/jobs/infrastructure/deploy/deploy-hwcert-jobs.sh
+++ b/jobs/infrastructure/deploy/deploy-hwcert-jobs.sh
@@ -8,7 +8,7 @@ CONFIG_PATH="$CONFIG_DIR/jlp.config"
 rm -rf env
 virtualenv -p python3 env
 . env/bin/activate
-pip install jenkins-job-builder
+pip install "jenkins-job-builder<5.0"
 
 JOBS_REPO=git+ssh://ce-certification-qa@xxxxxxxxxxxxxxxxx/$JOBS_REPO
 

Follow ups