Pipeline jobs - Custom build names?

33 views
Skip to first unread message

Sam K

unread,
Oct 17, 2016, 1:24:05 PM10/17/16
to Jenkins Users, S K
Is there a way (yet) to name the pipeline build jobs like this using the build name setter plugin



instead of what is now currently showing like this:


Daniel Beck

unread,
Oct 18, 2016, 7:21:39 AM10/18/16
to jenkins...@googlegroups.com

> On 17.10.2016, at 19:24, Sam K <sreer...@gmail.com> wrote:
>
> name the pipeline build jobs like this using the build name setter plugin

Just use this in your Pipeline:

currentBuild.displayName = 'whatever'

No need for a separate plugin.

Sam K

unread,
Oct 20, 2016, 4:59:42 PM10/20/16
to Jenkins Users, m...@beckweb.net
Thank you so much!! Works like a charm!! 
Reply all
Reply to author
Forward
0 new messages