Jenkins Job Builder 6.0.0 is released and breaks backward
compatibility with 5.1.0.
The breaking changes with previous 5.1.0 release:
- Jobs are now expanded the same way as job templates.
- Macros without parameters are now expanded the same way as macros
with parameters.
- Tags !include-raw: and !include-raw-escape: should now be used the
same way in jobs and macros without parameters as they are used in
job templates and macros with parameters.
- Update pre-commit dependencies
Ref:
https://storyboard.openstack.org/#!/story/
2010963
https://storyboard.openstack.org/#!/story/
2010588
NOTE: Set the var "JJB_VERSION" to "6.0.0" at the GH orginazation
level for GHA JJB Verify to pick up the latest version of JJB.
Issue: LF-JIRA RELENG-5119
Change-Id: I48f25c2e3153d93fed5c69123652513258653437
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
node: "14.13.0"
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
node: "14.13.0"
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
hooks:
- id: check-json
- id: trailing-whitespace
- repo: https://github.com/pre-commit/mirrors-prettier
hooks:
- id: check-json
- id: trailing-whitespace
- repo: https://github.com/pre-commit/mirrors-prettier
hooks:
- id: prettier
stages: [commit]
- repo: https://github.com/jorisroovers/gitlint
hooks:
- id: prettier
stages: [commit]
- repo: https://github.com/jorisroovers/gitlint
hooks:
- id: gitlint
stages: [commit-msg]
- repo: https://github.com/jumanjihouse/pre-commit-hooks
hooks:
- id: gitlint
stages: [commit-msg]
- repo: https://github.com/jumanjihouse/pre-commit-hooks
hooks:
- id: shellcheck
exclude: >
hooks:
- id: shellcheck
exclude: >
)$
- repo: https://github.com/adrienverge/yamllint
)$
- repo: https://github.com/adrienverge/yamllint
-Subproject commit 766dbef8a63d824d6e551d4f179806521be95d13
+Subproject commit 5d336574e77fb349ace15356ef8ffb816d463544
[testenv:jenkins-jobs]
deps =
[testenv:jenkins-jobs]
deps =
- jenkins-job-builder=={env:JJB_VERSION:5.0.2}
+ jenkins-job-builder=={env:JJB_VERSION:5.1.0}
commands =
jenkins-jobs {posargs:--help}
commands =
jenkins-jobs {posargs:--help}