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?
- Maybe there is any *magic* property or evn variable that already provides the output of "git describe" ?
- Maybe there is a next release comming very soon that provides this information out of the box?
- Or can I somehow make git perform cloning on agent (including the .git) folder ?
Thanks for any advices.