Class SplitStep

  • All Implemented Interfaces:
    ExtensionPoint, Describable<org.jenkinsci.plugins.workflow.steps.Step>

    public final class SplitStep
    extends org.jenkinsci.plugins.workflow.steps.Step
    Allows the splitting logic to be accessed from a workflow.
    • Constructor Detail

      • SplitStep

        @DataBoundConstructor
        public SplitStep​(Parallelism parallelism)
    • Method Detail

      • isGenerateInclusions

        public boolean isGenerateInclusions()
      • setGenerateInclusions

        @DataBoundSetter
        public void setGenerateInclusions​(boolean generateInclusions)
      • getTestMode

        public TestMode getTestMode()
      • setTestMode

        @DataBoundSetter
        public void setTestMode​(TestMode testMode)
      • setEstimateTestsFromFiles

        @Deprecated
        @DataBoundSetter
        public void setEstimateTestsFromFiles​(boolean estimateTestsFromFiles)
        Deprecated.
        Parameters:
        estimateTestsFromFiles - true if we should estimate the tests from the files
      • isEstimateTestsFromFiles

        @Deprecated
        public boolean isEstimateTestsFromFiles()
        Deprecated.
        use getTestMode() ()} instead
        Method kept only to make the snippet generator happy.
        Returns:
        true if we should estimate the tests from the files
      • getStage

        public String getStage()
      • setStage

        @DataBoundSetter
        public void setStage​(String stage)
      • start

        public org.jenkinsci.plugins.workflow.steps.StepExecution start​(org.jenkinsci.plugins.workflow.steps.StepContext context)
                                                                 throws Exception
        Specified by:
        start in class org.jenkinsci.plugins.workflow.steps.Step
        Throws:
        Exception