Groovy Postbuild Plugin

compared with
Current by Serban Iordache
on Aug 23, 2010 15:22.

This line was removed.
This word was removed. This word was added.
This line was added.

Changes (2)

View page history

The groovy script can use the variable _manager_, which provides access to the following objects and methods:
* hudson - the current Hudson instance.
* build - the current build.
* listener - the build listener.
* hudson - the current Hudson instance (see [hudson.model.Hudson|]).
* build - the current build (see [hudson.model.AbstractBuild|]).
* listener - the build listener (see [hudson.model.BuildListener|]).

* contains(file, regexp) - returns true if the given file contains a line matching _regexp_.