How to change the folder name of each build?

26 views
Skip to first unread message

Franz Sarmiento

unread,
Apr 12, 2016, 5:53:43 AM4/12/16
to Jenkins Users
Hello!

So I know how to edit the build display name that gets displayed via the Jenkins build history, but I'm confused how to edit the name of the folder of the build itself? For example, if I have a build #30, the directory is also called "30". I want to modify this to be dates instead, is there any way to do that? I'm talking about the individual build directory name itself, not the one that shows up on the Jenkins web portal.

I tried editing it via the set next build number plugin, but I don't want to do it manually each time I need to build. I just want to change the folder name into the date. It says that it needs to be an integer, but even a plain int with format "YYMMDD" is fine for me, since I read that it must always be increasing.

Jenkins version: 1.642.4

Cheers,
Franz

thomas....@teamaol.com

unread,
Apr 12, 2016, 7:09:45 AM4/12/16
to Jenkins Users
I don't get currently why you need to change that since build number and build date are displayed in
the Jenkins build history.

If you need further information like which component and which version
has been built on a concrete build number then you might look for this:

I hope it did help.

Regards,
Thomas
Reply all
Reply to author
Forward
0 new messages