htmlpublisher skips rest of report actions if one fails even when "Allow missing report"

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      Html Publisher plugin (in a Freesyle job) skips rest of report actions if one fails, even when "Allow missing report".

      When the first of the two step fails:

      [htmlpublisher] Archiving HTML reports...
      [htmlpublisher] Archiving at BUILD level /opt/jenkins/workspace/playground/test-htmlpublisher/dirDoesNotExist to /var/lib/jenkins/jobs/playground/jobs/test-htmlpublisher/builds/9/htmlreports/No_20MarPhi_20HTML_20Report
      ERROR: Specified HTML directory '/opt/jenkins/workspace/playground/test-htmlpublisher/dirDoesNotExist' does not exist.
      Finished: SUCCESS
      

      The second is never run...

       

      When I switch order, so that it's the second that fails:

      [htmlpublisher] Archiving HTML reports...
      [htmlpublisher] Archiving at BUILD level /opt/jenkins/workspace/playground/test-htmlpublisher/dirExists to /var/lib/jenkins/jobs/playground/jobs/test-htmlpublisher/builds/10/htmlreports/MarPhi_20HTML_20Report
      [htmlpublisher] Archiving at BUILD level /opt/jenkins/workspace/playground/test-htmlpublisher/dirDoesNotExist to /var/lib/jenkins/jobs/playground/jobs/test-htmlpublisher/builds/10/htmlreports/HTML_20Report
      ERROR: Specified HTML directory '/opt/jenkins/workspace/playground/test-htmlpublisher/dirDoesNotExist' does not exist.
      Finished: SUCCESS
      

      Both run...

            Assignee:
            Richard Bywater
            Reporter:
            Marcus Philip
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: