Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-61910

htmlpublisher makes Freestyle job FAILURE, not UNSTABLE when action fails due to missing report and skips rest of reports

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Won't Fix
    • htmlpublisher-plugin
    • None
    • Jenkins 2.222 (latest LTS)
      HTML Publisher plugin 1.22 (latest)

    Description

      When I have option " Allow missing report" false and no report is found, the job is set to result FAILURE. Also the rest of the reports are skipped.

      Also, I think the convention of post-build actions is to make the job UNSTABLE when it fails unless it's a misconfiguration. I guess you could argue that this can indeed be a misconfiguration.

      https://github.com/jenkinsci/htmlpublisher-plugin/blob/master/src/main/java/htmlpublisher/HtmlPublisher.java#L232 https://github.com/jenkinsci/htmlpublisher-plugin/blob/master/src/main/java/htmlpublisher/HtmlPublisher.java#L229

      Attachments

        Activity

          People

            r2b2_nz Richard Bywater
            marcus_phi Marcus Philip
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: