Date as build number
Our in-house build system uses the current date and time as the build number. For example, 20071207-1106. Is it possible to do this in TeamCity? If not, would it be considered for a future feature?
Please sign in to leave a comment.
Gordon,
This is not yet possible, I'm afraid.
I've created an issue in our tracker to introduce the ability to reference build start time in build configuration properties: http://www.jetbrains.net/jira/browse/TW-4080
You can vote/watch for it.
I believe this can be achieved via a custom plugin to TeamCity, however.
--
Best regards,
Yegor Yarko
Project Manager
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
Damn. I had just gotten that request from management yesterday. In particular, we want to tag builds in Subversion like that. Damn.
Will vote and watch.
--Dave Griffith
Hello,
BTW, It is pretty simple to write a TC plugin which imlements such build number.
Please see example at http://www.jetbrains.net/confluence/display/TCD3/Typical+Plugins
Kind regards,
KIR
"Kirill Maximov (JetBrains)" <no_reply@jetbrains.com> schrieb im Newsbeitrag
news:782909.1197183785287.JavaMail.itn@is.intellij.net...
Btw. it is possible to write a PlugIn in .NET or must it be in Java?
The PlugIn Docs are, as usual by JetBrains, pretty unfinished.
Regards
Albert
Hi,
Unfortunately, there is no way to write a similar .NET plugin, just because server-side part of TC is Java based.
With kind regards,
KIR