Package hudson.plugins.cmake
Class CPackStep
java.lang.Object
hudson.model.AbstractDescribableImpl<org.jenkinsci.plugins.workflow.steps.Step>
org.jenkinsci.plugins.workflow.steps.Step
hudson.plugins.cmake.AbstractStep
hudson.plugins.cmake.AbstractToolStep
hudson.plugins.cmake.CPackStep
- All Implemented Interfaces:
ExtensionPoint,Describable<org.jenkinsci.plugins.workflow.steps.Step>,Serializable
Provides a pipeline build step that allows to invoke
Similar to
cpack with
arbitrary arguments.Similar to
CToolBuilder, but pipeline compatible.- Author:
- Martin Weber
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringGets the basename of the command to run (cmake, cpack or ctest).Methods inherited from class hudson.plugins.cmake.AbstractToolStep
getArguments, getIgnoredExitCodes, getWorkingDir, setArguments, setIgnoredExitCodes, setWorkingDir, startMethods inherited from class hudson.plugins.cmake.AbstractStep
getInstallation, getLabel, getSelectedInstallation, setLabelMethods inherited from class org.jenkinsci.plugins.workflow.steps.Step
getDescriptor
-
Constructor Details
-
CPackStep
Minimal constructor.- Parameters:
installation- the name of the cmake tool installation from the global config page.
-
-
Method Details
-
getCommandBasename
Description copied from class:AbstractStepGets the basename of the command to run (cmake, cpack or ctest).- Overrides:
getCommandBasenamein classAbstractStep- Returns:
"cmake"
-