Class PublishHTMLStep

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

    public class PublishHTMLStep
    extends org.jenkinsci.plugins.workflow.steps.Step
    Publishes HTML reports in Workflows.
    Author:
    Oleg Nenashev
    • Constructor Detail

      • PublishHTMLStep

        @DataBoundConstructor
        public PublishHTMLStep​(@CheckForNull
                               HtmlPublisherTarget target)
        Constructor.
        Parameters:
        target - Target report to be published. May be null due if a user specifies an improper workflow (e.g. due to JENKINS-29711).
    • Method Detail

      • 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