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

Buildlink layout broken if build does not exist anymore

      The visualization in the buildLink.jelly file is broken when the referenced build is no longer available.

      In the following example, the first build 1383 has been deleted, the second build 1486 still exists.

          [JENKINS-69910] Buildlink layout broken if build does not exist anymore

          For a better comparison, how is the element supposed to look like?

          Alexander Brandes added a comment - For a better comparison, how is the element supposed to look like?

          Ulli Hafner added a comment - - edited

          Here is an image with the link when I am logged in:

           

          !Bildschirm­foto 2022-11-09 um 12.25.17.png|thumbnail!

          Ulli Hafner added a comment - - edited Here is an image with the link when I am logged in:   !Bildschirm­foto 2022-11-09 um 12.25.17.png|thumbnail!

          Daniel Beck added a comment -

          Probably because you don't pass jobName (which is supposed to be supported), so it renders a model-link without label in https://github.com/jenkinsci/jenkins/blob/9254655aff141b69e95319d7149be136e2df69b2/core/src/main/resources/lib/hudson/buildLink.jelly#L50

          (This behavior is weird anyway, the UI should show the display name after all, not the job name!)

          Daniel Beck added a comment - Probably because you don't pass jobName (which is supposed to be supported), so it renders a model-link without label in https://github.com/jenkinsci/jenkins/blob/9254655aff141b69e95319d7149be136e2df69b2/core/src/main/resources/lib/hudson/buildLink.jelly#L50 (This behavior is weird anyway, the UI should show the display name after all, not the job name!)

            Unassigned Unassigned
            drulli Ulli Hafner
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: