Docker Community Forums

Share and learn in the Docker community.

TeamCity robocopy fails with dockeragent

(Mm1985) #1

I am currently running a docker container for teamcity build agent.

Also i followed the following tutorial:

I runned the container, the docker agent is connected and authorized in teamcity

After that I added the user that I made in the tutorial correct rights.

When I deploy in TeamCity I get the following error:

[14:10:16][MSBuild.ExtensionPack.FileSystem.RoboCopy] 2018/06/28 14:10:17 ERROR 67 (0x00000043) Creating Destination Directory \\\Webdata\
[14:10:16][MSBuild.ExtensionPack.FileSystem.RoboCopy] The network name cannot be found.
[14:10:16][MSBuild.ExtensionPack.FileSystem.RoboCopy] C:\BuildAgent\work\705604048c280478\copy.xml(110, 9): Return Code 16. Serious error. RoboCopy did not copy any files. This is either a usage error or an error due to insufficient access privileges on the source or destination directories.
Anyone an idea how to solve it. I am a total beginner when it comes to fixing these issues with roles and rights.

When I connect to the container and try to access the shared network it cannot find the path.