How can I use Mercurial revision number as a Build Number?

In the "Build number format" I can use %build.vcs.number.MyRepo% to get 12-digit hexadecimal number associated with the repository. But I want something more human-readable...
Is it possible somehow to use the revision number of the repo?

1 comment

Hello Eugene,

This is currently not possible in TeamCity. Feel free to add a new feature request into our tracker on this http://youtrack.jetbrains.net/issues/TW. If it gets popular we will come up with some solution.

Kind regards,

Marina

0

Please sign in to leave a comment.