public class CToolBuilder extends AbstractCmakeBuilder
cmake, cpack and ctest) with arbitrary arguments.| Modifier and Type | Class and Description |
|---|---|
static class |
CToolBuilder.DescriptorImpl
Descriptor for
CToolBuilder. |
| Constructor and Description |
|---|
CToolBuilder(String installationName)
Minimal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getArguments() |
CToolBuilder.DescriptorImpl |
getDescriptor()
Overridden for better type safety.
|
String |
getIgnoredExitCodes()
Gets the exit codes of the tool that indicate a failure but should be
ignored, thus causing the build to proceed.
|
String |
getToolId() |
String |
getWorkingDir() |
boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
void |
setArguments(String arguments) |
void |
setIgnoredExitCodes(String ignoredExitCodes) |
void |
setToolId(String toolId) |
void |
setWorkingDir(String buildDir) |
getInstallationName, getSelectedInstallation@DataBoundConstructor public CToolBuilder(String installationName)
installationName - the name of the cmake tool installation from the global config
page.@DataBoundSetter public void setToolId(String toolId)
public String getToolId()
public String getIgnoredExitCodes()
null@DataBoundSetter public void setIgnoredExitCodes(String ignoredExitCodes)
@DataBoundSetter public void setWorkingDir(String buildDir)
setWorkingDir in class AbstractCmakeBuilderpublic String getWorkingDir()
getWorkingDir in class AbstractCmakeBuilder@DataBoundSetter public void setArguments(String arguments)
setArguments in class AbstractCmakeBuilderpublic String getArguments()
getArguments in class AbstractCmakeBuilderpublic boolean perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws InterruptedException,
IOException
perform in interface hudson.tasks.BuildStepperform in class hudson.tasks.BuildStepCompatibilityLayerInterruptedExceptionIOExceptionpublic CToolBuilder.DescriptorImpl getDescriptor()
getDescriptor in interface hudson.model.Describable<hudson.tasks.Builder>getDescriptor in class hudson.tasks.BuilderCopyright © 2016–2021. All rights reserved.