null
.
@param basedir The base directory of the project, must not be null
.
@param relativeScriptPath The path to the script relative to the project base directory, may be null
to skip the script execution.
@param context The key-value storage used to share information between hook scripts, may be null
.
@param logger The logger to redirect the script output to, may be null
to use stdout/stderr.
@param stage The stage of the build job the script is invoked in, must not be null
. This is for logging purpose only.
@param failOnException If true
and the script throws an exception, then a {@link RunFailureException}will be thrown, otherwise a {@link RunErrorException} will be thrown on script exception.
@throws IOException If an I/O error occurred while reading the script file.
@throws RunFailureException If the script did not return true
of threw an exception.
|
|