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

Show displayName in build remote API

    Details

    • Type: Improvement
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: core
    • Labels:
      None
    • Similar Issues:

      Description

      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.

        Attachments

          Activity

          Show
          patbos Patrik Boström added a comment - Created PR https://github.com/jenkinsci/jenkins/pull/1558
          Hide
          scm_issue_link 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

          Show
          scm_issue_link 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
          Hide
          scm_issue_link 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

          Show
          scm_issue_link 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

            People

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

              Dates

              • Created:
                Updated:
                Resolved: