Class AbstractCmakeBuilder

All Implemented Interfaces:
ExtensionPoint, Describable<Builder>, BuildStep
Direct Known Subclasses:
CmakeBuilder, CToolBuilder

public abstract class AbstractCmakeBuilder extends Builder
A Builder that holds information about a cmake installation, the working directory for invocation and the arguments to pass to cmake,
Author:
Martin weber
  • Constructor Details

    • AbstractCmakeBuilder

      public AbstractCmakeBuilder(String installationName)
      Minimal constructor.
      Parameters:
      installationName - the name of the cmake tool installation from the global config page.
  • Method Details

    • getInstallationName

      public String getInstallationName()
      Gets the name of the cmake installation to use for this build step
    • setWorkingDir

      protected void setWorkingDir(String workingDir)
    • getWorkingDir

      protected String getWorkingDir()
    • setArguments

      protected void setArguments(String toolArgs)
    • getArguments

      protected String getArguments()
    • getSelectedInstallation

      protected CmakeTool getSelectedInstallation()
      Finds the cmake tool installation to use for this build among all installations configured in the Jenkins administration
      Returns:
      selected CMake installation or null if none could be found