public class AbstractToolStep extends AbstractStep
cmake
, cpack
and ctest
) with arbitrary
arguments.CToolBuilder
, but pipeline compatible.@DataBoundSetter
methods defined here.Modifier and Type | Class and Description |
---|---|
protected static class |
AbstractToolStep.DescriptorImpl |
Constructor and Description |
---|
AbstractToolStep(String installation)
Minimal constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getArguments() |
String |
getIgnoredExitCodes()
Gets the exit codes of the tool that indicate a failure but should be
ignored, thus causing the build to proceed.
|
String |
getWorkingDir() |
void |
setArguments(String toolArgs) |
void |
setIgnoredExitCodes(String ignoredExitCodes) |
void |
setWorkingDir(String workingDir) |
org.jenkinsci.plugins.workflow.steps.StepExecution |
start(org.jenkinsci.plugins.workflow.steps.StepContext context)
Implemented to just add the label string to the build log.
|
getCommandBasename, getInstallation, getLabel, getSelectedInstallation, setLabel
@DataBoundConstructor public AbstractToolStep(String installation)
installation
- the name of the cmake tool installation from the global config
page.public String getIgnoredExitCodes()
null
@DataBoundSetter public void setIgnoredExitCodes(String ignoredExitCodes)
public org.jenkinsci.plugins.workflow.steps.StepExecution start(org.jenkinsci.plugins.workflow.steps.StepContext context) throws Exception
AbstractStep
start
in class AbstractStep
null
Exception
@DataBoundSetter public void setWorkingDir(String workingDir)
public String getWorkingDir()
@DataBoundSetter public void setArguments(String toolArgs)
public String getArguments()
Copyright © 2016–2021. All rights reserved.