Code Review
/
releng.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Update postbuildscript syntax for JJB 2.0.3
[releng.git]
/
jjb
/
xci
/
xci-daily-jobs.yaml
diff --git
a/jjb/xci/xci-daily-jobs.yaml
b/jjb/xci/xci-daily-jobs.yaml
index
11db4e1
..
c1132ab
100644
(file)
--- a/
jjb/xci/xci-daily-jobs.yaml
+++ b/
jjb/xci/xci-daily-jobs.yaml
@@
-155,11
+155,17
@@
# yamllint enable rule:line-length
- email-jenkins-admins-on-failure
- postbuildscript:
# yamllint enable rule:line-length
- email-jenkins-admins-on-failure
- postbuildscript:
- script-only-if-succeeded: false
- script-only-if-failed: false
builders:
builders:
- - shell:
- !include-raw: ./xci-cleanup.sh
+ - role: BOTH
+ build-on:
+ - ABORTED
+ - FAILURE
+ - NOT_BUILT
+ - SUCCESS
+ - UNSTABLE
+ build-steps:
+ - shell: !include-raw: ./xci-cleanup.sh
+ mark-unstable-if-failed: true
- job-template:
name: 'xci-{phase}-{pod}-{distro}-daily-{stream}'
- job-template:
name: 'xci-{phase}-{pod}-{distro}-daily-{stream}'