Reputation: 204
I am using the WinRM - IIS Web App Deployment task that can be downloaded from the Microsoft Marketplace. For the source location, I want to use
$(System.DefaultWorkingDirectory)\**\*.zip
However, this translates to a local path where the build agent resides, but not a path on the target machine. I want to turn the local path into a UNC path by replacing the initial 'c:\' with '\servername\c$\'. Is this possible?
This article about release variables does not tell me anything about how to actually use the variables.
Upvotes: 0
Views: 131
Reputation: 58980
You need to push the binaries to the server first by using the Windows Machine File Copy task.
Upvotes: 1