jenkins-job-builder/tests/publishers/fixtures/postbuildscript004.yaml
Sergey Yudin 231883819a Option to mark build as unstable in PostBuildScript publisher
Change-Id: I0c0817397e22ef585e5ba4be4b038395b6d21b3d
2015-11-16 19:58:37 +00:00

18 lines
543 B
YAML

publishers:
- postbuildscript:
builders:
- shell: 'echo "Shell execution should be first"'
- ant: 'ant_target'
groovy:
- "/** This is some inlined groovy */"
- "/** Some more inlined groovy */"
generic-script:
- '/tmp/one.sh'
- '/tmp/two.sh'
groovy-script:
- '/tmp/one.groovy'
- '/tmp/two.groovy'
script-only-if-succeeded: False
script-only-if-failed: True
mark-unstable-if-failed: True