This is a breaking change that requires consumers of global-jjb
to switch to JJB 2.0.3 and install PostBuildScript 2.x in Jenkins.
It updates lf-infra-publish macro to switch to the PostBuildScript 2.x
YAML definitions.
Issue: RELENG-832
Change-Id: I04020587acfb8b6550c0221ebfb97a501f46b15a
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
publishers:
- postbuildscript:
builders:
- - lf-infra-sysstat
- - lf-infra-ship-logs
- script-only-if-succeeded: false
- script-only-if-failed: false
- mark-unstable-if-failed: false
+ - role: BOTH
+ build-on:
+ - ABORTED
+ - FAILURE
+ - NOT_BUILT
+ - SUCCESS
+ - UNSTABLE
+ build-steps:
+ - lf-infra-sysstat
+ - lf-infra-ship-logs
+ mark-unstable-if-failed: true
- workspace-cleanup:
exclude:
# Do not clean up *.jenkins-trigger files for jobs that use a
[testenv:jjb]
deps =
- jenkins-job-builder==2.0.2
+ jenkins-job-builder>=2.0.3
commands =
jenkins-jobs -l DEBUG test --recursive -o {toxinidir}/archives/job-configs {toxinidir}/jjb:{toxinidir}/.jjb-test