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

Add 'set-build-displayname' CLI command

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved (View Workflow)
    • Priority: Trivial
    • Resolution: Fixed
    • Component/s: cli
    • Labels:
      None
    • Similar Issues:

      Description

      CLI currently allows to set both the result and the description of a build:

      set-build-description
      Sets the description of a build
      set-build-result
      Sets the result of the current build. Works only if invoked from within a build.

      Attached patch adds a command that allows to set the displayName in a similar way.

      This is my first contribution to this and I don't think I've been able to do satisfying tests on this one. Pointers welcome.

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Kohsuke Kawaguchi
          Path:
          changelog.html
          core/src/main/java/hudson/cli/SetBuildDisplayNameCommand.java
          http://jenkins-ci.org/commit/jenkins/297aff0c8b1684e3ff8fd06f7dd9d3fb7d426312
          Log:
          [FIXED JENKINS-9126] added 'set-build-displayname' CLI command.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Kohsuke Kawaguchi Path: changelog.html core/src/main/java/hudson/cli/SetBuildDisplayNameCommand.java http://jenkins-ci.org/commit/jenkins/297aff0c8b1684e3ff8fd06f7dd9d3fb7d426312 Log: [FIXED JENKINS-9126] added 'set-build-displayname' CLI command.
          Hide
          dogfood dogfood added a comment -

          Integrated in jenkins_main_trunk #1037
          [FIXED JENKINS-9126] added 'set-build-displayname' CLI command.

          Kohsuke Kawaguchi : 297aff0c8b1684e3ff8fd06f7dd9d3fb7d426312
          Files :

          • changelog.html
          • core/src/main/java/hudson/cli/SetBuildDisplayNameCommand.java
          Show
          dogfood dogfood added a comment - Integrated in jenkins_main_trunk #1037 [FIXED JENKINS-9126] added 'set-build-displayname' CLI command. Kohsuke Kawaguchi : 297aff0c8b1684e3ff8fd06f7dd9d3fb7d426312 Files : changelog.html core/src/main/java/hudson/cli/SetBuildDisplayNameCommand.java
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Kohsuke Kawaguchi
          Path:
          changelog.html
          core/src/main/java/hudson/cli/SetBuildDisplayNameCommand.java
          http://jenkins-ci.org/commit/jenkins/297aff0c8b1684e3ff8fd06f7dd9d3fb7d426312
          Log:
          [FIXED JENKINS-9126] added 'set-build-displayname' CLI command.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Kohsuke Kawaguchi Path: changelog.html core/src/main/java/hudson/cli/SetBuildDisplayNameCommand.java http://jenkins-ci.org/commit/jenkins/297aff0c8b1684e3ff8fd06f7dd9d3fb7d426312 Log: [FIXED JENKINS-9126] added 'set-build-displayname' CLI command.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Kohsuke Kawaguchi
          Path:
          changelog.html
          core/src/main/java/hudson/cli/SetBuildDisplayNameCommand.java
          http://jenkins-ci.org/commit/jenkins/297aff0c8b1684e3ff8fd06f7dd9d3fb7d426312
          Log:
          [FIXED JENKINS-9126] added 'set-build-displayname' CLI command.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Kohsuke Kawaguchi Path: changelog.html core/src/main/java/hudson/cli/SetBuildDisplayNameCommand.java http://jenkins-ci.org/commit/jenkins/297aff0c8b1684e3ff8fd06f7dd9d3fb7d426312 Log: [FIXED JENKINS-9126] added 'set-build-displayname' CLI command.

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            peritus Filip Noetzel
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: