JJB's 5.0.1 has a bug that return an error when a macro is
set as null. This issue is resolved in 5.0.2.
TypeError: 'NoneType' object is not a mapping
Issue: RELENG-4686
Change-Id: Iba6680ca7e3d54ca88b4854d9ba40006efe3f3e2
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
disable-job: false
github-url: "https://github.com"
jjb-cache: "$HOME/.cache/jenkins_jobs"
- jjb-version: 5.0.1
+ jjb-version: 5.0.2
stream: master
submodule-recursive: true
submodule-timeout: 10
--- /dev/null
+prelude: >
+ JJB's 5.0.1 has a bug that return an error.
+ TypeError: 'NoneType' object is not a mapping
+issues:
+ - |
+ This breaks the JJB test on the existing ci-man repositores when the
+ macro is null value.
+upgrade:
+ - |
+ Upgrade Jenkins-job-builder to 5.0.2 which has the fix for the issue.
+
+ Ref: https://review.opendev.org/c/jjb/jenkins-job-builder/+/880589
[testenv:jjb]
basepython = python3
deps =
- jenkins-job-builder==5.0.1
+ jenkins-job-builder==5.0.2
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:5.0.1}
+ jenkins-job-builder{env:JJB_VERSION_OP:~=}{env:JJB_VERSION:5.0.2}
commands =
jenkins-jobs {posargs:--help}