• Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • core
    • None

      In the build remote API should also show the displayName. It is commonly used to set a version number of the build in for example build pipelines.
      Example (https://ci.jenkins-ci.org/view/Jenkins%20core/job/jenkins_main_trunk/3961/api/json)
      Current API shows fullDisplayName which includes the projectname and displayname:
      "jenkins_main_trunk #3961"
      The displayName should show just "#3961".
      Makes it easier to for example create external information radiators showing the version/build number for different jobs.

          [JENKINS-26723] Show displayName in build remote API

          Patrik Boström added a comment - Created PR https://github.com/jenkinsci/jenkins/pull/1558

          Code changed in jenkins
          User: Patrik Boström
          Path:
          core/src/main/java/hudson/model/Run.java
          http://jenkins-ci.org/commit/jenkins/59bd031487697ea46c4fcb6c4cc3d0d82c06f950
          Log:
          JENKINS-26723 Expose displayName in Remote API

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Patrik Boström Path: core/src/main/java/hudson/model/Run.java http://jenkins-ci.org/commit/jenkins/59bd031487697ea46c4fcb6c4cc3d0d82c06f950 Log: JENKINS-26723 Expose displayName in Remote API

          Code changed in jenkins
          User: Oliver Gondža
          Path:
          core/src/main/java/hudson/model/Run.java
          http://jenkins-ci.org/commit/jenkins/20171e4d8649019c6c5e722c2e2f50405d3631cb
          Log:
          Merge pull request #1558 from patbos/JENKINS-26723

          JENKINS-26723 Expose displayName in Remote API

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oliver Gondža Path: core/src/main/java/hudson/model/Run.java http://jenkins-ci.org/commit/jenkins/20171e4d8649019c6c5e722c2e2f50405d3631cb Log: Merge pull request #1558 from patbos/ JENKINS-26723 JENKINS-26723 Expose displayName in Remote API

            Unassigned Unassigned
            patbos Patrik Boström
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: