public static interface Ghostwriter.MasterGhostwriter extends Ghostwriter
Ghostwriter.MasterGhostwriter, Ghostwriter.SlaveGhostwriter
Modifier and Type | Method and Description |
---|---|
boolean |
performFromMaster(hudson.model.AbstractBuild<?,?> build,
hudson.FilePath executionRoot,
hudson.model.BuildListener listener)
Runs (on the master) the step over the given build and reports the progress to the listener.
|
boolean performFromMaster(hudson.model.AbstractBuild<?,?> build, hudson.FilePath executionRoot, hudson.model.BuildListener listener) throws InterruptedException, IOException
build
- The the build.executionRoot
- The module root on which the build executed.listener
- The buildListener.InterruptedException
- If the build is interrupted by the user (in an attempt to abort the build.)
Normally the BuildStep
implementations may simply forward
the exception it got from its lower-level functions.IOException
- If the implementation wants to abort the processing when an IOException
happens, it can simply propagate the exception to the caller. This will cause
the build to fail, with the default error message.
Implementations are encouraged to catch IOException
on its own to
provide a better error message, if it can do so, so that users have better
understanding on why it failed.Copyright © 2016–2018. All rights reserved.