-
Bug
-
Resolution: Fixed
-
Major
-
None
-
Jenkins 2.222 (latest LTS)
HTML Publisher plugin 1.22 (latest)
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...