Git describe on TeamCity 5.0

I need to reach the output from the "git describe" command to get the revision number from last tag (which my build script is going to put into assembly versions).
How can I do this?

AFAIK git plugin is only supported in "checked on server" mode which doesn't let me perform any git-related operations from the build script.
What can I do?

  1. Maybe there is any *magic* property or evn variable that already provides the output of "git describe" ?
  2. Maybe there is a next release comming very soon that provides this information out of the box?
  3. Or can I somehow make git perform cloning on agent (including the .git) folder ?

Thanks for any advices.

1 comment
Comment actions Permalink


Seems you have already found issue that regards to you request:


Please sign in to leave a comment.