90eceb7478
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
17 lines
505 B
YAML
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
|