Closed git-heavy closed 4 years ago
Use a copy files task for agents, or use a deployment group and let the agent copy the files to the server for you.
I also have this suggestion from @git-heavy , I also tried to use the $(System.DefaultWorkingDirectory) for "Artifact Path" so we wouldn't need for an extra custom step to copy the files to a temporary folder on the destination server before actually running the "Windows Service Manager" task.
Network copies are not the same as local copies. In most cases they require authentication. The task is not configured for it at this time. I would be happy to review a pull request with this feature if one gets submitted.
Closing this issue, let me know if you need some more assistance.
VSTS agent run on and in Agent Phase of release I added task with "TargetMachine" parameter set to . Also I set "Artifact Path" to "$(System.DefaultWorkingDirectory)/TfsWebHookHandler/service".
When release started, service successfully identified on but failed while trying to copy binaries from artifacts directory to target service directory.
It seems like agent trying to copy from local path to local path on remote machine. Why not copy to remote machine from build machine?