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

blue ocean currentBuild.displayName should show in RUN column in place of number

    XMLWordPrintable

    Details

    • Similar Issues:
    • Epic Link:
    • Sprint:
      Blue Ocean 1.3

      Description

      tldr: Blue ocean should use the displayName if one is there, instead of build number (like the classic screen shot). The URIs are unchanged, just what is displayed in the column. 

       

      ------ original: ------

       

      -JENKINS-39850- claims that currentBuild.displayName is honored in blue ocean as of now, but it is not consistent.  The following script:

       

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

      Produces the attached screenshots on our system.

       

      Expected Behavior:

      The activity screen should show displayName in the RUN column.  JENKINS-39850 shows screenshots that show that to be the case.

        Attachments

          Issue Links

            Activity

            akrapfl Adam Krapfl created issue -
            akrapfl Adam Krapfl made changes -
            Field Original Value New Value
            Description JENKINS-39850 claims that *currentBuild.displayName* is honored in blue ocean as of now, but it is not consistent.  The following script:

             
            {code:java}
            node {
              stage('start') {
                currentBuild.displayName = "foo.$BUILD_NUMBER"
                currentBuild.description = "foo.$BUILD_NUMBER - desc"
                echo 'Hello World'
              }
            }
            {code}
            Produces the attached screenshots on our system.
            -JENKINS-39850- claims that *currentBuild.displayName* is honored in blue ocean as of now, but it is not consistent.  The following script:

             
            {code:java}
            node {
              stage('start') {
                currentBuild.displayName = "foo.$BUILD_NUMBER"
                currentBuild.description = "foo.$BUILD_NUMBER - desc"
                echo 'Hello World'
              }
            }
            {code}
            Produces the attached screenshots on our system.

             

            *Expected Behavior:*

            The *activity* screen should show *displayName* in the *RUN* column.  JENKINS-39850 shows screenshots that show that to be the case.
            michaelneale Michael Neale made changes -
            Summary blue ocean currentBuild.displayName feature is incomplete blue ocean currentBuild.displayName should show in RUN column in place of number
            michaelneale Michael Neale made changes -
            Epic Link JENKINS-35761 [ 171656 ]
            michaelneale Michael Neale made changes -
            Description -JENKINS-39850- claims that *currentBuild.displayName* is honored in blue ocean as of now, but it is not consistent.  The following script:

             
            {code:java}
            node {
              stage('start') {
                currentBuild.displayName = "foo.$BUILD_NUMBER"
                currentBuild.description = "foo.$BUILD_NUMBER - desc"
                echo 'Hello World'
              }
            }
            {code}
            Produces the attached screenshots on our system.

             

            *Expected Behavior:*

            The *activity* screen should show *displayName* in the *RUN* column.  JENKINS-39850 shows screenshots that show that to be the case.
            tldr: Blue ocean should use the displayName if one is there, instead of build number (like the classic screen shot). The URIs are unchanged, just what is displayed in the column. 

             

            ------ original: ------

             

            --JENKINS-39850-- claims that *currentBuild.displayName* is honored in blue ocean as of now, but it is not consistent.  The following script:

             
            {code:java}
            node {
              stage('start') {
                currentBuild.displayName = "foo.$BUILD_NUMBER"
                currentBuild.description = "foo.$BUILD_NUMBER - desc"
                echo 'Hello World'
              }
            }
            {code}
            Produces the attached screenshots on our system.

             

            *Expected Behavior:*

            The *activity* screen should show *displayName* in the *RUN* column.  -JENKINS-39850- shows screenshots that show that to be the case.
            michaelneale Michael Neale made changes -
            Sprint Blue Ocean 1.3 - beta 1 [ 386 ]
            michaelneale Michael Neale made changes -
            Assignee Nicolae Pascu [ nicu ]
            michaelneale Michael Neale made changes -
            Rank Ranked higher
            michaelneale Michael Neale made changes -
            Priority Minor [ 4 ] Major [ 3 ]
            nicu Nicolae Pascu made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            nicu Nicolae Pascu made changes -
            Rank Ranked higher
            nicu Nicolae Pascu made changes -
            Status In Progress [ 3 ] In Review [ 10005 ]
            nicu Nicolae Pascu made changes -
            Resolution Fixed [ 1 ]
            Status In Review [ 10005 ] Closed [ 6 ]
            michaelneale Michael Neale made changes -
            Remote Link This issue links to "Page (Jenkins Wiki)" [ 17969 ]
            reinholdfuereder Reinhold Füreder made changes -
            Link This issue is related to JENKINS-44869 [ JENKINS-44869 ]

              People

              Assignee:
              nicu Nicolae Pascu
              Reporter:
              akrapfl Adam Krapfl
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: