You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Navigate to a test case in the resulting report (one that has attachments) and see in the Standard Output that the URL in the href for the attachment is wrong:
Jenkins and plugins versions report
Jenkins 2.492.1
What Operating System are you using (both controller, and any agents involved in the problem)?
Windows and Ubuntu, problem is on both
Reproduction steps
Process a JUnit report that has attachments:
Navigate to a test case in the resulting report (one that has attachments) and see in the Standard Output that the URL in the href for the attachment is wrong:
http://localhost:8080/jenkins/job/attachments-fixes/5/testReportjob/attachments-fixes/5/testReport/junit/MyNamespace.Tests.JUnit/JunitPluginTests/TestCase1/attachments/Attachment.txt
See it repeats the "job/attachments-fixes/5/testReport" part and doesn't have a "/" between the repeated string either.
Expected Results
Expect the URL to be:
http://localhost:8080/jenkins/job/attachments-fixes/5/testReport/junit/MyNamespace.Tests.JUnit/JunitPluginTests/TestCase1/attachments/Attachment.txt
Actual Results
Attachment link was:
http://localhost:8080/jenkins/job/attachments-fixes/5/testReportjob/attachments-fixes/5/testReport/junit/MyNamespace.Tests.JUnit/JunitPluginTests/TestCase1/attachments/Attachment.txt
Anything else?
No response
Are you interested in contributing a fix?
Yes I'll do it
The text was updated successfully, but these errors were encountered: