Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-72124

In Permalinks, "Latest Test Result" field is not even shown for builds not completed in "lastCompletedBuild/testReport/"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • core
    • None
    • Jenkins 2.375.4

      In Permalinks, "Latest Test Result" field is not even shown for builds not completed in "lastCompletedBuild/testReport/"

       

      This is because "lastCompletedBuild" can indicate passed or failed build. When build is failed, obviously, test report does not get generated.

      Ideally, "Latest Test Result" field in Permalinks must instead point to "lastSuccessfulBuild/testReport/" 

      This is about the hyperlink under "Latest Test Result (no failures)" in your screenshot.

      When build is successfully completed, it shows this field along with test results.
      When build is failed completed, it does NOT show this field.
      This brings inconsistency in the view. It would be good to continue to see the last test report.

      Solution is to show hyperlink for "Latest Test Report" from "lastSuccessfulBuild/testReport/" , instead of "lastCompletedBuild/testReport/" .

      Few screenshots to show this issue. These are not from same job.

      When build is successfully completed, "Latest Test Report" is shown

       

      When build is failed, +"Latest Test Report" is NOT shown+

        1. image-2023-10-05-08-31-35-645.png
          105 kB
          Vrukesh
        2. image-2023-10-05-08-39-29-881.png
          94 kB
          Vrukesh
        3. no-testReport-field.png
          27 kB
          Mark Waite

            Unassigned Unassigned
            vrukesh Vrukesh
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: