deployment - How to set user account to run build runner in Team City -
I have a different build configuration, which used to deploy the created files. This configuration uses the command line build runner. I have a bat file that copies the output files into another computer share. Output files are prepared by other build configurations. The problem is that when the team city executes the Windows XP copy command, I get an access denied error. How can I set up a user account for the selected build runner? Or what is the correct way to deploy build files?
You can configure TeamCity service account to change / write a share in a suitable privileged domain account Access
Alternatively, roll your own copy of MSBuild function which impersonates on some additional parameters.
, you can get it from work
and then apply the executed ()
method.
Comments
Post a Comment