Package hudson.plugins.cmake
Class AbstractCmakeBuilder
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Builder
hudson.plugins.cmake.AbstractCmakeBuilder
- All Implemented Interfaces:
ExtensionPoint,Describable<Builder>,BuildStep
- Direct Known Subclasses:
CmakeBuilder,CToolBuilder
A Builder that holds information about a cmake installation, the working
directory for invocation and the arguments to pass to
cmake,- Author:
- Martin weber
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherListNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringGets the name of the cmake installation to use for this build stepprotected CmakeToolFinds the cmake tool installation to use for this build among all installations configured in the Jenkins administrationprotected Stringprotected voidsetArguments(String toolArgs) protected voidsetWorkingDir(String workingDir) Methods inherited from class hudson.tasks.Builder
all, getDescriptor, getRequiredMonitorService, prebuildMethods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectAction, getProjectActions, perform, perform, prebuild
-
Constructor Details
-
AbstractCmakeBuilder
Minimal constructor.- Parameters:
installationName- the name of the cmake tool installation from the global config page.
-
-
Method Details
-
getInstallationName
Gets the name of the cmake installation to use for this build step -
setWorkingDir
-
getWorkingDir
-
setArguments
-
getArguments
-
getSelectedInstallation
Finds the cmake tool installation to use for this build among all installations configured in the Jenkins administration- Returns:
- selected CMake installation or
nullif none could be found
-