-
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.
[JENKINS-9126] Add 'set-build-displayname' CLI command
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Workflow | Original: JNJira [ 139282 ] | New: JNJira + In-Review [ 188429 ] |
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.