Is there a system property for build label?

I am using TC 4.5.4, and need to checkin and label build artifacts into StarTeam. Is there some way I can reference the label used by TC in the build in my Ant script? I have tried "${teamcity.build.VcsLabel}", "${system.teamcity.build.VcsLabel}", and "${system.build.label}", but none of them have worked.

I found issue TW-3847 that says this was addressed in TC 3.1, but it doesn't appear to be working.

2 comments
Comment actions Permalink

Hi!

Is there some way I can reference the label used by TC in the build in my Ant script?

I think that the label is applied AFTER the end of the build runner action, so after the Ant script run.

Regards,

Olivier.

0
Comment actions Permalink

Thanks for the response. I have implemented a workaround where I just do the labeling myself in the Ant script.

0

Please sign in to leave a comment.