public class BuildToolStep extends hudson.model.AbstractDescribableImpl<BuildToolStep> implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
BuildToolStep.DescriptorImpl
Descriptor for
CmakeBuilder . |
Constructor and Description |
---|
BuildToolStep() |
Modifier and Type | Method and Description |
---|---|
String |
getArgs()
Gets the content of the form field 'args'.
|
String[] |
getCommandArguments(hudson.EnvVars buildEnvironment)
Gets the arguments to pass to the build tool.
|
BuildToolStep.DescriptorImpl |
getDescriptor()
Overridden for better type safety.
|
Map<String,String> |
getEnvironmentVars(hudson.EnvVars buildEnvironment,
hudson.model.TaskListener listener)
Gets the extra environment variables to pass to the build tool.
|
String |
getEnvVars()
Gets the content of the form field 'envVars'.
|
boolean |
getWithCmake()
Gets whether to run the actual build tool directly (by expanding
$CMAKE_BUILD_TOOL ) or to have cmake run the
build tool (by invoking cmake --build ). |
void |
setArgs(String args)
Sets the content of the form field 'args'.
|
void |
setEnvVars(String vars)
Sets the content of the form field 'envVars'.
|
void |
setWithCmake(boolean withCmake)
Sets whether to run the actual build tool directly (by expanding
$CMAKE_BUILD_TOOL ) or to have cmake run the
build tool (by invoking cmake --build ). |
public String[] getCommandArguments(hudson.EnvVars buildEnvironment)
buildEnvironment
- the environement of the build step, for variable expansion.null
public Map<String,String> getEnvironmentVars(hudson.EnvVars buildEnvironment, hudson.model.TaskListener listener)
buildEnvironment
- the environement of the build step, for variable expansion.null
public BuildToolStep.DescriptorImpl getDescriptor()
getDescriptor
in interface hudson.model.Describable<BuildToolStep>
getDescriptor
in class hudson.model.AbstractDescribableImpl<BuildToolStep>
public boolean getWithCmake()
$CMAKE_BUILD_TOOL
) or to have cmake
run the
build tool (by invoking cmake --build
).@DataBoundSetter public void setWithCmake(boolean withCmake)
$CMAKE_BUILD_TOOL
) or to have cmake
run the
build tool (by invoking cmake --build
).public String getArgs()
@DataBoundSetter public void setArgs(String args)
public String getEnvVars()
@DataBoundSetter public void setEnvVars(String vars)
Copyright © 2016–2021. All rights reserved.