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

Blue Ocean should respect build.displayName

    XMLWordPrintable

Details

    • Blue Ocean 1.1-beta4

    Description

      Scope

      • Show the display name in the messages column of activity
      • Show the display name in the triggered area of the result

      Original request
      Code allows you to set:

      currentBuild.displayName = 'foo'
      

      But Blue ocean does not respect it. Attached: classic and BO views.

      Attachments

        Issue Links

          Activity

            jamesdumay James Dumay added a comment -

            Will be released in Blue Ocean 1.1

            jamesdumay James Dumay added a comment - Will be released in Blue Ocean 1.1
            bkorren Barak Korren added a comment -

            I don't think this is working properly now.

            We have complex jobs that use displayName heavily. We're explicitly using displayName to be able to quickly look at the list of builds and know which one did what. While the main build screen does show the name in the top of the page, the activity screen does not show it anywhere, not even on mouse hover as mentioned in previous comment on this issue. It just shows the build number.

            Here are example jobs that use displayName heavily (These should be publicly viewable):

            http://jenkins.ovirt.org/job/ovirt-master_change-queue/

            http://jenkins.ovirt.org/job/ovirt-master_change-queue-tester/

             

            It is pretty important for us to see the right display names, otherwise we can't use BlueOcean to monitor these jobs.

            bkorren Barak Korren added a comment - I don't think this is working properly now. We have complex jobs that use displayName heavily. We're explicitly using displayName to be able to quickly look at the list of builds and know which one did what. While the main build screen does show the name in the top of the page, the activity screen does not show it anywhere, not even on mouse hover as mentioned in previous comment on this issue. It just shows the build number. Here are example jobs that use displayName heavily (These should be publicly viewable): http://jenkins.ovirt.org/job/ovirt-master_change-queue/ http://jenkins.ovirt.org/job/ovirt-master_change-queue-tester/   It is pretty important for us to see the right display names, otherwise we can't use BlueOcean to monitor these jobs.
            jamesdumay James Dumay added a comment -

            Please open a new bug with a Jenkinsfile that can reproduce the error, rather than reopen this ticket.

            jamesdumay James Dumay added a comment - Please open a new bug with a Jenkinsfile that can reproduce the error, rather than reopen this ticket.
            akrapfl Adam Krapfl added a comment -

            jamesdumay bkorren I see this as still broken as well.  Or rather, partially working:

            the following groovy on blue ocean: 1.2.0 · Core 2.60.3 · 4d42c87 · (no branch) 

            node {
             stage('start') {
             currentBuild.displayName = "foo.$BUILD_NUMBER"
             currentBuild.description = "foo.$BUILD_NUMBER - desc"
             echo 'Hello World'
             }
            }

            produces the attached ui in classic and blue ocean views.

             

             

            akrapfl Adam Krapfl added a comment - jamesdumay bkorren I see this as still broken as well.  Or rather, partially working: the following groovy on blue ocean:  1.2.0 · Core 2.60.3 · 4d42c87 · (no branch)   node { stage('start') { currentBuild.displayName = "foo.$BUILD_NUMBER" currentBuild.description = "foo.$BUILD_NUMBER - desc" echo 'Hello World' } } produces the attached ui in classic and blue ocean views.    
            akrapfl Adam Krapfl added a comment -

            jamesdumay bkorren

            Added JENKINS-46657 to track the defect with this feature.

            akrapfl Adam Krapfl added a comment - jamesdumay bkorren Added  JENKINS-46657  to track the defect with this feature.

            People

              jamesdumay James Dumay
              roidelapluie Julien Pivotto
              Votes:
              9 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: