1 Replies Last post: Feb 9, 2010 8:52 PM by Marina Grechko  
eyo Fhh Newbie 5 posts since
Jan 31, 2010
Currently Being Moderated

Jan 31, 2010 10:10 PM

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.

Lukasz

Marina Grechko JetBrains 600 posts since
Oct 12, 2009
Currently Being Moderated
Feb 9, 2010 8:52 PM in response to: eyo Fhh
Re: Git describe on TeamCity 5.0

Lukasz,

 

Seems you have already found issue that regards to you request: http://youtrack.jetbrains.net/issue/TW-10741

More Like This

  • Retrieving data ...