Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Page Properties
hiddentrue
idbamboo-plugin

Task Name

SFTP Upload Task

Plugin Name

dm-bamboo-sftp-plugin-<version>.jar

YAML Reference

mci-propertiessftp-configurationupload

Included Components

Bamboo SFTP Download Task, Bamboo SFTP Upload Task

You can use the SFTP Upload task to transfer files and directories from the local working directory to a remote SFTP server.

...

Use the SFTP Upload Task in a YAML pipeline

Code Block
languageyaml
- mci-sftp-upload:
    destination-dir: ${bamboo.buildResultKey}-${bamboo.EnvironmentID}
    transfer-pattern: filesystem/**/*,config/*
    port: '22'
    host: ${bamboo.ServerName}
    username: ${bamboo.ServerUsername}
    shared-credentials: *ssh_credentials
    description: Transfer DataStage config and file system assets

...