Class JUnitResultsStep

    • Constructor Detail

      • JUnitResultsStep

        @DataBoundConstructor
        public JUnitResultsStep​(String testResults)
    • Method Detail

      • setHealthScaleFactor

        @DataBoundSetter
        public final void setHealthScaleFactor​(double healthScaleFactor)
        Parameters:
        healthScaleFactor - Health scale factor.
        Since:
        1.2-beta-1
      • setTestDataPublishers

        @DataBoundSetter
        public final void setTestDataPublishers​(@Nonnull
                                                List<TestDataPublisher> testDataPublishers)
        Parameters:
        testDataPublishers - Test data publishers.
        Since:
        1.2
      • isKeepLongStdio

        public boolean isKeepLongStdio()
        Specified by:
        isKeepLongStdio in interface JUnitTask
        Returns:
        the keepLongStdio.
      • setKeepLongStdio

        @DataBoundSetter
        public final void setKeepLongStdio​(boolean keepLongStdio)
        Parameters:
        keepLongStdio - Whether to keep long stdio.
        Since:
        1.2-beta-1
      • isAllowEmptyResults

        public boolean isAllowEmptyResults()
        Specified by:
        isAllowEmptyResults in interface JUnitTask
        Returns:
        the allowEmptyResults
      • isSkipPublishingChecks

        public boolean isSkipPublishingChecks()
        Should we skip publishing checks to the checks API plugin.
        Specified by:
        isSkipPublishingChecks in interface JUnitTask
        Returns:
        if publishing checks should be skipped, false otherwise
      • setSkipPublishingChecks

        @DataBoundSetter
        public void setSkipPublishingChecks​(boolean skipPublishingChecks)
      • setChecksName

        @DataBoundSetter
        public void setChecksName​(String checksName)
      • setAllowEmptyResults

        @DataBoundSetter
        public final void setAllowEmptyResults​(boolean allowEmptyResults)
      • isSkipMarkingBuildUnstable

        public boolean isSkipMarkingBuildUnstable()
      • setSkipMarkingBuildUnstable

        @DataBoundSetter
        public void setSkipMarkingBuildUnstable​(boolean skipMarkingBuildUnstable)
      • 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