public class AbstractStep extends org.jenkinsci.plugins.workflow.steps.Step implements Serializable
@DataBoundSetter
methods defined here.Modifier and Type | Class and Description |
---|---|
static class |
AbstractStep.DescriptorImpl
Descriptor for
AbstractStep . |
Constructor and Description |
---|
AbstractStep(String installation)
Minimal constructor.
|
Modifier and Type | Method and Description |
---|---|
protected String |
getCommandBasename()
Gets the basename of the command to run (cmake, cpack or ctest).
|
String |
getInstallation()
Gets the name of the cmake installation to use for this build step
|
String |
getLabel() |
protected CmakeTool |
getSelectedInstallation()
Finds the cmake tool installation to use for this build among all
installations configured in the Jenkins administration
|
void |
setLabel(String label) |
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.
|
@DataBoundConstructor public AbstractStep(String installation)
installation
- the name of the cmake tool installation from the global config
page.public String getInstallation()
protected String getCommandBasename()
"cmake"
protected CmakeTool getSelectedInstallation()
null
if none could be
found@DataBoundSetter public void setLabel(String label)
public String getLabel()
public org.jenkinsci.plugins.workflow.steps.StepExecution start(org.jenkinsci.plugins.workflow.steps.StepContext context) throws Exception
start
in class org.jenkinsci.plugins.workflow.steps.Step
null
Exception
Copyright © 2016–2021. All rights reserved.