HtmlPublisher should be a SimpleBuildStep.

          [JENKINS-26343] Workflow integration for HTMLPublisher

          Code changed in jenkins
          User: Mike Rooney
          Path:
          pom.xml
          src/main/java/htmlpublisher/HtmlPublisher.java
          src/main/java/htmlpublisher/HtmlPublisherTarget.java
          src/main/java/htmlpublisher/workflow/PublishHTMLStep.java
          src/main/java/htmlpublisher/workflow/PublishHTMLStepExecution.java
          src/main/java/htmlpublisher/workflow/WorkflowActionsFactory.java
          src/main/resources/htmlpublisher/workflow/PublishHTMLStep/config.jelly
          src/test/java/htmlpublisher/workflow/PublishHTMLStepTest.java
          http://jenkins-ci.org/commit/htmlpublisher-plugin/d26961f4925e639350a8893b33d6bc704adfd487
          Log:
          Merge pull request #15 from oleg-nenashev/JENKINS-26343

          JENKINS-26343 - Workflow Integration

          Compare: https://github.com/jenkinsci/htmlpublisher-plugin/compare/0b553952ef3b...d26961f4925e

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Mike Rooney Path: pom.xml src/main/java/htmlpublisher/HtmlPublisher.java src/main/java/htmlpublisher/HtmlPublisherTarget.java src/main/java/htmlpublisher/workflow/PublishHTMLStep.java src/main/java/htmlpublisher/workflow/PublishHTMLStepExecution.java src/main/java/htmlpublisher/workflow/WorkflowActionsFactory.java src/main/resources/htmlpublisher/workflow/PublishHTMLStep/config.jelly src/test/java/htmlpublisher/workflow/PublishHTMLStepTest.java http://jenkins-ci.org/commit/htmlpublisher-plugin/d26961f4925e639350a8893b33d6bc704adfd487 Log: Merge pull request #15 from oleg-nenashev/ JENKINS-26343 JENKINS-26343 - Workflow Integration Compare: https://github.com/jenkinsci/htmlpublisher-plugin/compare/0b553952ef3b...d26961f4925e

          Code changed in jenkins
          User: Jesse Glick
          Path:
          COMPATIBILITY.md
          http://jenkins-ci.org/commit/workflow-plugin/f07c3113323fce1ac43715367fa66caaf5f4a3f0
          Log:
          JENKINS-26343 Noting release.

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: COMPATIBILITY.md http://jenkins-ci.org/commit/workflow-plugin/f07c3113323fce1ac43715367fa66caaf5f4a3f0 Log: JENKINS-26343 Noting release.

          This is what it returns when involved from workflow:

          ERROR: Cannot publish the report. Target is not specified
          

          Jenkins v 1.631, workflow v 1.10 htmlpublisher v 1.6

          Jānis Balodis added a comment - This is what it returns when involved from workflow: ERROR: Cannot publish the report. Target is not specified Jenkins v 1.631, workflow v 1.10 htmlpublisher v 1.6

          Oleg Nenashev added a comment -

          I suppose you're suffering from JENKINS-29711. make sure that "target" parameter name is specified in your workflow

          Oleg Nenashev added a comment - I suppose you're suffering from JENKINS-29711 . make sure that "target" parameter name is specified in your workflow

          Jānis Balodis added a comment - - edited

          Yes, that was the problem.
          Thank you.

          Jānis Balodis added a comment - - edited Yes, that was the problem. Thank you.

          mcrooney added a comment -

          I do believe this is taken care of now as of 1.6, please correct me if I'm wrong!

          mcrooney added a comment - I do believe this is taken care of now as of 1.6, please correct me if I'm wrong!

          Oleg Nenashev added a comment -

          This is correct. My bad, I have not updated it

          Oleg Nenashev added a comment - This is correct. My bad, I have not updated it

          Hey oleg_nenashev or jglick or anyone:

          Question: Does this integration mean that I cannot use HTMLPublisher unless I have Workflow (aka "Pipeline") installed on my Jenkins? I'd like to use it without, if possible.

          Regards,
          Darrel Vuncannon
          SW Configuration Management and Build Tools Team
          Garmin International

          Darrel Vuncannon added a comment - Hey oleg_nenashev or jglick or anyone: Question : Does this integration mean that I cannot use HTMLPublisher unless I have Workflow (aka "Pipeline") installed on my Jenkins? I'd like to use it without, if possible. Regards, Darrel Vuncannon SW Configuration Management and Build Tools Team Garmin International

          Oleg Nenashev added a comment -

          Hi Darrel,

          The plugin requires only workflow-step-api plugin. This plugin is an API library, which does not provide any UIs or project types. So from the user perspective the instance will have no Pipeline plugin features installed.

          Hopefully it helps

          Oleg Nenashev added a comment - Hi Darrel, The plugin requires only workflow-step-api plugin. This plugin is an API library, which does not provide any UIs or project types. So from the user perspective the instance will have no Pipeline plugin features installed. Hopefully it helps

          Oleg: Yes, that helps a lot. Thanks!

          Darrel Vuncannon added a comment - Oleg: Yes, that helps a lot. Thanks!

            oleg_nenashev Oleg Nenashev
            jglick Jesse Glick
            Votes:
            5 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated:
              Resolved: