-
Improvement
-
Resolution: Fixed
-
Trivial
-
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.
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.