public class CmakeBuilderStep extends AbstractStep
CMakeBuilder
, but pipeline compatible.Modifier and Type | Class and Description |
---|---|
static class |
CmakeBuilderStep.DescriptorImpl
Descriptor for
CmakeBuilderStep . |
Constructor and Description |
---|
CmakeBuilderStep(String installation)
Minimal constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getBuildDir() |
String |
getBuildType() |
String |
getCmakeArgs() |
CmakeBuilderStep.DescriptorImpl |
getDescriptor()
Overridden for better type safety.
|
String |
getGenerator() |
String |
getPreloadScript() |
String |
getSourceDir() |
List<BuildToolStep> |
getSteps()
Gets the toolSteps property.
|
boolean |
isCleanBuild() |
void |
setBuildDir(String buildDir) |
void |
setBuildType(String buildType) |
void |
setCleanBuild(boolean cleanBuild) |
void |
setCmakeArgs(String cmakeArgs) |
void |
setGenerator(String generator)
Sets the name of the build-script generator.
|
void |
setPreloadScript(String preloadScript) |
void |
setSourceDir(String sourceDir) |
void |
setSteps(List<BuildToolStep> toolSteps)
Sets the toolSteps property.
|
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 CmakeBuilderStep(String installation)
installation
- the name of the cmake tool installation from the global config
page.@DataBoundSetter public void setGenerator(String generator)
generator
- the name of cmake´s build-script generator or null
or
empty if the default generator should be usedpublic String getGenerator()
@DataBoundSetter public void setSourceDir(String sourceDir)
public String getSourceDir()
@DataBoundSetter public void setBuildDir(String buildDir)
public String getBuildDir()
@DataBoundSetter public void setBuildType(String buildType)
public String getBuildType()
@DataBoundSetter public void setCleanBuild(boolean cleanBuild)
public boolean isCleanBuild()
@DataBoundSetter public void setPreloadScript(String preloadScript)
public String getPreloadScript()
@DataBoundSetter public void setCmakeArgs(String cmakeArgs)
public String getCmakeArgs()
@DataBoundSetter public void setSteps(List<BuildToolStep> toolSteps)
public List<BuildToolStep> getSteps()
public org.jenkinsci.plugins.workflow.steps.StepExecution start(org.jenkinsci.plugins.workflow.steps.StepContext context) throws Exception
AbstractStep
start
in class AbstractStep
null
Exception
public CmakeBuilderStep.DescriptorImpl getDescriptor()
getDescriptor
in interface hudson.model.Describable<org.jenkinsci.plugins.workflow.steps.Step>
getDescriptor
in class org.jenkinsci.plugins.workflow.steps.Step
Copyright © 2016–2021. All rights reserved.