Team Services | TFS 2017 | Previous versions (XAML builds)
Copy files from source folder to target folder on a remote machine over SSH.
This task allows you to connect to a remote machine using SSH and copy files matching a set of minimatch patterns from specified source folder to target folder on the remote machine. Supported protocols for file transfer are SFTP and SCP via SFTP.
- The task supports use of an SSH key pair to connect to the remote machine(s).
- The public key must be pre-installed or copied to the remote machine(s).
The name of an SSH service endpoint containing connection details for the remote machine.
The source folder for the files to copy to the remote machine. Empty is the root of the repo.
File paths to include as part of the copy.
Target folder on the remote machine to where files will be copied.
|Clean target folder||
If this option is selected, all existing files in the target folder will be deleted before copying.
If this option is selected (the default), existing files in the target folder will be replaced.
If this option is selected, the folder structure is not preserved and all the files will be copied into the specified target folder on the remote machine.
Do I need a build agent?
You need at least one agent to run your build. Get an agent.
I can't select a default agent queue and I can't queue my build. How do I fix this?