Properties references in TeamCity4
What's New in TeamCity 4.0
Miscellaneous
....
- More properties are now supported in the VCS labeling pattern.
....
- VCS labeling pattern and build number now support more properties references
http://www.jetbrains.net/confluence/display/TCD4/What%27s+New+in+TeamCity+4.0
Can anyone tell me what new properties reference do TeamCity 4 support now?
I would like to have label on my builds with dynamic project name / config name / day time stamp / and VCS revision on the label.
| VCS Labeling | |
| VCS labeling mode: |
Do not label Successful only Always Labeling pattern: Use %system.build.number% for build number substitution
|
|---|---|
like %system.date/time% or %system.vcs.rev%?
Is TeamCity 4 able to do that now? And is there a list of supported properties references for labeling or build numbering?
Thanks in advance.
Please sign in to leave a comment.
Thomas,
VCS label now supportsreferences to the properties: build.number, teamcity.projectName, teamcity.buildConfName, build.vcs.number
You can read what properties are supported throught the build configuration settings in the corresponding documentation section.
Concerning your case, the only missing property seems to be time and date of the build. We have a feature request filed on this- you can watch/vote for it. The issue with the request is that it is not clear what format to use for the date/time values.
--
Best regards,
Yegor Yarko
Project Manager (TeamCity)
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
Thanks for the follow up.
I suggest to start this features by adding two most basic time stamp and date stamp in the format of HH:MM:SS & YYYYMMDD, then give an extensibility on these to customize into different formats.
Best regards,
Thomas
Hi Yegor,
Just wondering if there's anyone follow up the feature request you mentioned?
I have regularly check with the request and didn't see update on the case since 10 Oct 08.
Is the format of the date/time values still under debate? or a fix is already there and wait to put in the next build?
Thanks and looking forward to your reply.
Best regards and happy new year,
Thomas
Is TeamCity 5 include date/time stamp in properties references?