Antoine Musso c88f827686 Support the Post Build Script plugin
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
2014-03-14 23:05:22 +01:00

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