public abstract class CommandDuringBuild extends CLICommand
ExtensionPoint.LegacyInstancesAreScopedToHudson
channel, locale, stderr, stdin, stdout, TRANSPORT_AUTHENTICATION
Constructor and Description |
---|
CommandDuringBuild() |
Modifier and Type | Method and Description |
---|---|
protected Run |
getCurrentlyBuilding()
This method makes sense only when called from within the build kicked by Jenkins.
|
protected Run |
optCurrentlyBuilding()
If the command is currently running inside a build, return it.
|
all, checkChannel, clone, createClone, getClientCharset, getClientEnvironmentVariable, getClientSystemProperty, getCmdLineParser, getCurrent, getLongDescription, getName, getShortDescription, getSingleLineSummary, getTransportAuthentication, getUsage, loadStoredAuthentication, main, printUsage, printUsageSummary, registerOptionHandlers, run, setTransportAuth, shouldPerformAuthentication
protected Run getCurrentlyBuilding() throws org.kohsuke.args4j.CmdLineException
org.kohsuke.args4j.CmdLineException
protected Run optCurrentlyBuilding() throws org.kohsuke.args4j.CmdLineException
org.kohsuke.args4j.CmdLineException
Copyright © 2014. All rights reserved.