Azure DevOps Pipelines Extension for build and release pipelines.
BE-terna acquired Adacta in 2019.
Download files from remote SSH connection via SFTP client to pipeline agent.
-
Source files: remote source path.
Can be minimatch file pattern. More Information
Example:** -
Destination path: agent local target path. May be source, artifact or any other local path.
Example:$(Build.SourcesDirectory)(default working directory),$(Build.StagingDirectory) -
SSH Connection - Connection Type:
-
SSH Connection: Select pipeline service connection of type ssh.
-
Hostname:
-
SSH Hostname: Host name or IP address of the remote machine with optional port.
Example:sftp.company.comorhostname:22 -
Username: Username / login.
-
Password / Key passphrase: Provide the password or the passphrase for the private key if using a key-pair. Use secret variable.
Example:$(sshPassword) -
Secure File Path: Filename of secure file. Use Download Secure File task and set output variable name (
Reference nameunder Output Variables).
Example:$(SecureKey.secureFilePath)
-
-
-
Advanced
- Clean target folder: Delete all existing files and sub-folders in the target folder before copying.
-
Output Variables
- ProcessedFilesCount: Number of processed files.
yaml example:
steps:
- task: adacta.azdevopsSFTP.task-sftp-download.sftpDownload@0
displayName: 'SFTP Download'
inputs:
sourcePath: /src/d365fo/sl
target: a/sl
cleanTargetFolder: false
connectionType: hostname
sshHost: my.sftp.server
username: myUsername
password: '$(Parameters.password)'
secureFilePath: '$(SecureKey_AdTrans.secureFilePath)'1.3 2020-11-05
- Fixed bug with extension manifest target #3
1.2 2019-10-18
- Fixed bug with empty source
- Added ApplicationInsights
1.1 2019-03-11
Clean target folderoption added1.0 2019-03-01
- Initial version (
preview)
