HTML publisher plugin, result 404

597 views
Skip to first unread message

Ruud Siebierski

unread,
Jul 15, 2015, 3:53:44 AM7/15/15
to jenkins...@googlegroups.com
Hi,

Sorry if this is the wrong group for this question. Off course I spend some time in google before posting this here.
Running Jenkins 1.620 with HTML publisher plugin 1.4, running on Windows 8

I recently started using the HTML publisher plugin to publish CodeCoverage reports generated by OpenCover+ReportGenerator. 

HTML directory to archive : TestResults/UnitTestCoverage/
Index page[s] : index.html
Report title  : Unit test code coverage

TestResults is a subdir of the workspace

The link address on the project page is:
(seems ok)

However response is 404 not found:
HTTP/1.1 404 Not Found
X-Content-Type-Options: nosniff
Stapler-Trace-001: -> evaluate(<hudson.model.Hudson@1cf82ae> :hudson.model.Hudson,"/job/Continuous%20Trunk%20Debug%20build/Unit_test_code_coverage/index.html")
Stapler-Trace-002: -> evaluate(((StaplerProxy)<hudson.model.Hudson@1cf82ae>).getTarget(),"/job/Continuous%20Trunk%20Debug%20build/Unit_test_code_coverage/index.html")
Stapler-Trace-003: -> evaluate(<hudson.model.Hudson@1cf82ae>.getJob("Continuous Trunk Debug build"),"/Unit_test_code_coverage/index.html")
Stapler-Trace-004: -> evaluate(<hudson.model.FreeStyleProject@1b6db69[Continuous Trunk Debug build]> :hudson.model.FreeStyleProject,"/Unit_test_code_coverage/index.html")
Stapler-Trace-005: -> evaluate(<hudson.model.FreeStyleProject@1b6db69[Continuous Trunk Debug build]>.getDynamic("Unit_test_code_coverage",...),"/index.html")
Stapler-Trace-006: -> evaluate(<htmlpublisher.HtmlPublisherTarget$HTMLAction@5dd337> :htmlpublisher.HtmlPublisherTarget$HTMLAction,"/index.html")
Stapler-Trace-007: -> <htmlpublisher.HtmlPublisherTarget$HTMLAction@5dd337>.doDynamic(...)
Content-Type: text/html;charset=ISO-8859-1
Cache-Control: must-revalidate,no-cache,no-store
Content-Length: 1438
Server: Jetty(winstone-2.8)
.....(etc)

HTML publisher output:
[htmlpublisher] Archiving HTML reports...
[htmlpublisher] Archiving at PROJECT level C:\Users\twincat\.jenkins\jobs\Continuous Trunk Debug build\workspace\TestResults\UnitTestCoverage to C:\Users\twincat\.jenkins\jobs\Continuous Trunk Debug build\htmlreports\Unit_test_code_coverage

The build is currently marked as unstable. Haven't got the change to test it with a successful build.

Is my configuration wrong, or is this a bug? I tried using "Always link to last build on job page", but it doesn't help.

Thanks,

Ruud

Ginga, Dick

unread,
Jul 15, 2015, 7:47:57 AM7/15/15
to jenkins...@googlegroups.com

That is because the index page in named index.HTM (no L). I spent lots of time on this problem.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/dc4094b7-dbf1-4386-a779-cd5061273b7a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Ruud Siebierski

unread,
Jul 15, 2015, 9:19:38 AM7/15/15
to jenkins...@googlegroups.com
OMG. Glad that i'm not the only one who spent a lot of time on this.
Thanks a lot Dick. It works now.

--
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/X2mcVxVWAuk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/6C6EE445A6F6CE4E8A0FFB51B071A4E2D8648A58%40AMERMBX02.PERKINELMER.NET.
Reply all
Reply to author
Forward
0 new messages