Team city VCS hash code used for Build Checkout Directory
The VCS settings hash code is described here: https://confluence.jetbrains.com/display/TCD9/Build+Checkout+Directory
How is the hashcode created from the VCS root? I would like to know how I can compute it programatically.
Thanks
Please sign in to leave a comment.
Hi Adrian,
What would be the use for it? It's usually substantially easier to simply parse the directory.map file on the work directory. If you need it to be a specific one for any kind of task, you can force build configurations to use a specific checkout directory. If you are using it from within your build scripts in teamcity, you can simply reference the %teamcity.agent.work.dir% and you will be passed the full path to it.