Jenkins cannot generate HTML reports with htmlpublisher

I have time trying to publish any HTML report with htmlpublisher .

My input is as follows:

enter image description here

And 404 looks like this:

enter image description here

The report is definitely generated in build/ . I visually compared the config.xml file with a well-known working example and apparently the same one. The entry in jobs/ is, with the correct name and documentation.

I cannot understand what I am doing wrong. I checked the Skip HTML Reports window, unchecked the box, played with the paths, read the (bad) documentation, but I can't get it to work. Can anyone help?

+6
source share
2 answers

Jenkins developers have confirmed that this problem is related to version 1.529 and it was resolved in 1.530 .

+1
source

What version of Jenkins are you using? I see this problem in all my projects since upgrading to 1.529. Files are copied to tasks / correctly, as you mentioned.

The answer you accepted is incorrect and contradicts the documentation https://wiki.jenkins-ci.org/display/JENKINS/HTML+Publisher+Plugin

EDIT: The issue is resolved in 1.530: https://jenkins-ci.org/changelog I updated and I no longer see 404s.

+3
source

Source: https://habr.com/ru/post/953294/


All Articles