• Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • junit-plugin
    • None
    • Windows Server 2012
      Jenkins 2.176.4
      JUnit 1.28

      Adding a URL to JUnit output will automatically hyperlink in the page for the individual test (see https://issues.jenkins-ci.org/browse/JENKINS-3225 ). However, it does not get linked for the Test Report page when expanding the failure.

      Steps to reproduce:

      1. Create a Freestyle job with url.xml in the workspace
      2. In the build steps, touch url.xml
      3. In Post-Build Actions, add Publish JUnit test result report with Test Result XMLs as *.xml
      4. Run job
      5. Go to Test Results
      6. Expand All Failed Tests
      7. URL is not hyperlinked.
      8. Click test name link to go to test page.
      9. URL is hyperlinked.

          [JENKINS-59846] Hyperlink URLs in JUnit Test Report

          Julie Heard added a comment -

          Sorry for the delay in getting to this, pull request here: https://github.com/jenkinsci/junit-plugin/pull/555 Please give any feedback and I can tweak the level of sanitizing the URLs

          Many thanks,
          Julie

          Julie Heard added a comment - Sorry for the delay in getting to this, pull request here: https://github.com/jenkinsci/junit-plugin/pull/555 Please give any feedback and I can tweak the level of sanitizing the URLs Many thanks, Julie

            Unassigned Unassigned
            krandell Kim Randell
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: