Class CTestStep

java.lang.Object
hudson.model.AbstractDescribableImpl<org.jenkinsci.plugins.workflow.steps.Step>
org.jenkinsci.plugins.workflow.steps.Step
All Implemented Interfaces:
ExtensionPoint, Describable<org.jenkinsci.plugins.workflow.steps.Step>, Serializable

public class CTestStep extends AbstractToolStep
Provides a pipeline build step that allows to invoke ctest with arbitrary arguments.
Similar to CToolBuilder, but pipeline compatible.
Author:
Martin Weber
See Also:
  • Constructor Details

    • CTestStep

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

    • getCommandBasename

      protected String getCommandBasename()
      Description copied from class: AbstractStep
      Gets the basename of the command to run (cmake, cpack or ctest).
      Overrides:
      getCommandBasename in class AbstractStep
      Returns:
      "cmake"