Configure the random number folder names that builds generate on the build agent?
For each build, a folder is created in TeamCity/buildAgent/work. The names of each folder are seemingly random lines of numbers and letters. Consequently, the only way to identify a build's folder is by opening each random-name folder and looking at its contents.
Is there perhaps a way to configure the names TeamCity gives these folders so they can be identified easily? We have a long list of builds, it can prove difficult to locate a specific build's folder in this directory when we have to open each one to do so.
Please sign in to leave a comment.
Hi,
this folder is the "checkout folder" for that specific build, contained in the agent's work folder. You can define them by changing the checkout folder as described here: https://www.jetbrains.com/help/teamcity/build-checkout-directory.html.
If you just need to access them, you can access them via the predefined parameter: %teamcity.build.workingDir%, and you as well have access to the agent's work folder via %teamcity.agent.workDir%