SFTP [Password]


Name Description
action Required String The ID of the action.
authentication_mode Required String The authentication mode for SSH. Should be set to PASS.
host Required String The host for the connection.
login Required String The username required to connect to the server.
port Required String The port for the connection.
type Required String The type of the action. Should be set to SFTP.
trigger_time String Specifies when the action should be executed. Can be one of ON_EVERY_EXECUTION, ON_FAILURE or ON_BACK_TO_SUCCESS.
input_type String Defines whether the files are deployed from the repository or from the build filesystem. Can be one of SCM_REPOSITORY or BUILD_ARTIFACTS.
local_path String The path in the repository.
password String The password required to connect to the server.
remote_path String The absolute or relative path on the remote server.
deployment_excludes String[] The paths and/or files that will be left out during the deployment.


  - action: "Upload files to localhost"
    type: "SFTP"
    input_type: "SCM_REPOSITORY"
    local_path: "/src"
    remote_path: "/www"
    login: "api_tests_user"
    password: "api_tests_password"
    host: "localhost"
    port: "22"
    authentication_mode: "PASS"
    - "/tmp"
    - "*.log"

Get started now

14 days of unlimited trial. No credit card required.