JJB has been pinned to v2.8.0 for nearly 2 years. It's time move on,
particularly since we've been hard at work dropping support for Python
2.7. This also brings in needed fixes to support recent changes in how
many plugins for Jenkins are getting versioned.
Change-Id: I1ee78f1b7b5a8fa019cb6fe5a322d02ff8d114e2
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
disable-job: false
github-url: "https://github.com"
jjb-cache: "$HOME/.cache/jenkins_jobs"
- jjb-version: 2.8.0
+ jjb-version: 4.1.0
stream: master
submodule-recursive: true
submodule-timeout: 10
--- /dev/null
+---
+upgrade:
+ - |
+ Jenkins Job Builder 4.1.0 is now the default version. global-jjb has been
+ pegged to version 2.8.0 since v0.55.3 released on 2020-07-21. Since this
+ release JJB has dropped support for Python 2.7 and version 4.1.0 of JJB has
+ required fixes needed for dealing with versions of plugins that are now
+ shipping for Jenkins that cause issues.
+
+ Projects that set override their JJB version should either remove the pin
+ and take what global-jjb defaults to, or reset their pin to 4.1.0
[testenv:jjb]
basepython = python3
deps =
- jenkins-job-builder==2.8.0
+ jenkins-job-builder==4.1.0
commands =
jenkins-jobs -l DEBUG test --recursive -o {toxinidir}/archives/job-configs {toxinidir}/jjb:{toxinidir}/.jjb-test
[testenv:jenkins-jobs]
deps =
- jenkins-job-builder{env:JJB_VERSION_OP:~=}{env:JJB_VERSION:2.8.0}
+ jenkins-job-builder{env:JJB_VERSION_OP:~=}{env:JJB_VERSION:4.1.0}
commands =
jenkins-jobs {posargs:--help}