Access TeamCity Data Directory from the agent
Completed
Hello,
I'm trying to access the data directory of TeamCity (~/.BuildServer on Linux) from a BuildProcessAdapter class.
Is there any way to get this path?
Thanks,
Cédric Cousseran
Please sign in to leave a comment.
I've found the solution.
In our agent you need to use a artifactsWatcher:
You can then retrieve it on the server:
build.getArtifactsDirectory() + fileName