• Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • cli
    • None

      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.

          [JENKINS-9126] Add 'set-build-displayname' CLI command

          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.

          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.

          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

          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

          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.

          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.

          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.

          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.

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

              Created:
              Updated:
              Resolved: