Details
-
Improvement
-
Status: Resolved (View Workflow)
-
Trivial
-
Resolution: Fixed
-
None
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
Field | Original Value | New Value |
---|---|---|
Resolution | Fixed [ 1 ] | |
Status | Open [ 1 ] | Resolved [ 5 ] |
Workflow | JNJira [ 139282 ] | 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.