
Lets one execute a shell/groovy script or any builder AFTER the build has complete. https://wiki.jenkins-ci.org/display/JENKINS/PostBuildScript+Plugin All existing builders should be supported since this patch call the usual dispatcher. Change-Id: Ide059ec9fd0e556f0c50ec992a6021eb5afb261c
14 lines
366 B
YAML
14 lines
366 B
YAML
publishers:
|
|
- postbuildscript:
|
|
generic-script:
|
|
- '/tmp/one.sh'
|
|
- '/tmp/two.sh'
|
|
groovy-script:
|
|
- '/tmp/one.groovy'
|
|
- '/tmp/two.groovy'
|
|
groovy:
|
|
- "/** This is some inlined groovy */"
|
|
- "/** Some more inlined groovy */"
|
|
onsuccess: False
|
|
onfailure: True
|