public static interface Ghostwriter.SlaveGhostwriter extends Ghostwriter
Ghostwriter.MasterGhostwriter, Ghostwriter.SlaveGhostwriter
Modifier and Type | Method and Description |
---|---|
boolean |
performFromSlave(BuildProxy build,
hudson.model.BuildListener listener)
Runs (on the slave) the step over the given build and reports the progress to the listener.
|
boolean performFromSlave(BuildProxy build, hudson.model.BuildListener listener) throws InterruptedException, IOException
build
- The information about the build.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.