@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, optCurrentlyBuilding
all, checkChannel, clone, createClone, getClientCharset, getClientEnvironmentVariable, getClientSystemProperty, getCmdLineParser, getCurrent, getLongDescription, getName, getSingleLineSummary, getTransportAuthentication, getUsage, loadStoredAuthentication, printUsage, printUsageSummary, registerOptionHandlers, setTransportAuth, shouldPerformAuthentication
public String getShortDescription()
getShortDescription
in class hudson.cli.CLICommand
protected int run() throws Exception
run
in class hudson.cli.CLICommand
Exception
public int main(List<String> args, Locale locale, InputStream stdin, PrintStream stdout, PrintStream stderr)
main
in class hudson.cli.CLICommand
Copyright © 2004-2014. All Rights Reserved.