How to force TeamCity to fetch all tags? What I tried so far:
- force checkout on agent
- add parameter
Enable to use tags in the branch specification is checked
+:refs/tags/* into branch specification in VCS root settings
- I tried to add build step to invoke
git fetch --tags but that requires SSH Agent to be running and it's failing with
Failed to start SSH Agent: java.lang.RuntimeException: Cannot parse ssh-agent output: ''
Nothing works. I can see that TeamCity is fetching all branches, but no tags, so GitVersion is not able to calculate proper version.