@Extension
public class SetEnvVariables
extends hudson.cli.CommandDuringBuild
Set build time env variables.
$java -jar cli.jar set-env-variables -m color=purple -m size=10
| Modifier and Type | Field and Description |
|---|---|
Map<String,String> |
envVariables |
| Constructor and Description |
|---|
SetEnvVariables() |
| Modifier and Type | Method and Description |
|---|---|
String |
getShortDescription() |
int |
main(List<String> args,
Locale locale,
InputStream stdin,
PrintStream stdout,
PrintStream stderr) |
protected int |
run() |
getCurrentlyBuilding, optCurrentlyBuildingall, checkChannel, clone, createClone, getClientCharset, getClientEnvironmentVariable, getClientSystemProperty, getCmdLineParser, getCurrent, getLongDescription, getName, getSingleLineSummary, getTransportAuthentication, getUsage, loadStoredAuthentication, printUsage, printUsageSummary, registerOptionHandlers, setTransportAuth, shouldPerformAuthenticationpublic String getShortDescription()
getShortDescription in class hudson.cli.CLICommandprotected int run()
throws Exception
run in class hudson.cli.CLICommandExceptionpublic int main(List<String> args, Locale locale, InputStream stdin, PrintStream stdout, PrintStream stderr)
main in class hudson.cli.CLICommandCopyright © 2004-2014. All Rights Reserved.