jenkins-job-builder/tests/publishers/fixtures/postbuildscript004.yaml
Khai Do 90eceb7478 deprecate postbuildscript onsuccess and onfailure parameter names
The postbuildscript module's 'onsuccess' and 'onfailure' parameters
names were slightly confusing.  This change deprecates those parameter
names and replaces them with less confusing names.  The new names
are more closely matched to the ones that get added to the xml.

Change-Id: Ifb76129852816aa3f8ee6bb7f609a2344ccc7a69
2014-12-15 09:53:17 -08:00

17 lines
505 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