scp

Plugin to upload file or directory to remote machine using scp protocol.

Arguments

  • CF_SCP_HOST * - Target machine host
  • CF_SCP_PASSWORD * - Target machine user password
  • CF_SCP_PORT * - default port is 22, use this variable to specify different port.
  • CF_SCP_SOURCE * - path to resource which will be uploaded, example /codefresh/volume/test.txt
  • CF_SCP_TARGET * - path to resource on remote machine where resource will be created, example /home/test.txt
  • CF_SCP_USER_NAME * - Target machine user name
    version: '1.0'
steps:
  SCP:
    type: scp
    arguments:
      CF_SCP_HOST: <your_host>
      CF_SCP_USER_NAME: <name>
      CF_SCP_PASSWORD: <password>
      CF_SCP_TARGET: <path_to_target_file>
      CF_SCP_PORT: <port>
      CF_SCP_SOURCE: <path_to_source_file>

  
github.com
Denys Voznyuk
Sep 18, 2019