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

From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Ruud Siebierski
Sent: Wednesday, July 15, 2015 3:54 AM
To: jenkinsci-users@googlegroups.com
Subject: HTML publisher plugin, result 404

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:
http://iai-hka-twincat:8080/job/Continuous%20Trunk%20Debug%20build/Unit_test_code_coverage
(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<mailto: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<mailto:hudson.model.Hudson@1cf82ae>>).getTarget(),"/job/Continuous%20Trunk%20Debug%20build/Unit_test_code_coverage/index.html")
Stapler-Trace-003: -> 
evaluate(<hudson.model.Hudson@1cf82ae<mailto: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]<mailto:hudson.model.FreeStyleProject@1b6db69[Continuous%20Trunk%20Debug%20build]>>
 :hudson.model.FreeStyleProject,"/Unit_test_code_coverage/index.html")
Stapler-Trace-005: -> 
evaluate(<hudson.model.FreeStyleProject@1b6db69[Continuous Trunk Debug 
build]<mailto:hudson.model.FreeStyleProject@1b6db69[Continuous%20Trunk%20Debug%20build]>>.getDynamic("Unit_test_code_coverage",...),"/index.html")
Stapler-Trace-006: -> 
evaluate(<htmlpublisher.HtmlPublisherTarget$HTMLAction@5dd337<mailto:htmlpublisher.HtmlPublisherTarget$HTMLAction@5dd337>>
 :htmlpublisher.HtmlPublisherTarget$HTMLAction,"/index.html")
Stapler-Trace-007: -> 
<htmlpublisher.HtmlPublisherTarget$HTMLAction@5dd337<mailto: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

--
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-users+unsubscr...@googlegroups.com<mailto:jenkinsci-users+unsubscr...@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<https://groups.google.com/d/msgid/jenkinsci-users/dc4094b7-dbf1-4386-a779-cd5061273b7a%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.

-- 
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-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/6C6EE445A6F6CE4E8A0FFB51B071A4E2D8648A58%40AMERMBX02.PERKINELMER.NET.
For more options, visit https://groups.google.com/d/optout.

Reply via email to