Search code examples
tfsazure-devopstfsbuildtfs-2015azure-pipelines

TFS 2015 copy output to remote server


Using Team Services, I have a build server which performs my continuous integration builds. Is there any way to copy the build output to a remote server?

This remote server is not linked in any way to the build server in terms of network or domain, but I have full control of the firewall.

I have set up WinRM on the remote server, but I have not successfully made the build server connect to it.

How can I copy all output files to the build server?


Solution

  • You can add a "Windows Machine File Copy" task in your definition to copy the output to the remote server.

    And you can following this link if you want to configure WinRM: How to Run PowerShell Commands on Remote Computers.