How do you use the Version Number Plugin to modify the Build Name ?

19 views
Skip to first unread message

Philippe Maire

unread,
Jun 16, 2017, 6:03:12 AM6/16/17
to Jenkins Users

hi,

I would like to change the build Name.  I try to use Version Number Plugin or Set Build Name.

I want to change the name with 
"BUILD_DATE_FORMATTED"

For example : #01-2017-05-15-hh-mm 

Number + today date + time

I dont know what do I put in"Environnement Variable Name" and Version Number.." field ?

and to use Build Name?

Thank you to help me
Phil






Richard Ginga

unread,
Jun 16, 2017, 9:48:31 AM6/16/17
to jenkins...@googlegroups.com
i use this a lot. If all you want is to display this in the build column on the job's dashboard page, put any string in the variable field, in the format field put ${BUILD_NUMBER} look at the ? help for other variables, then check the box 

Use the formatted version number for build display name.



--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/7a14f69c-1142-469b-a8ae-863f194bcb79%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Dick Ginga
Build Engineer

Reply all
Reply to author
Forward
0 new messages