FTPS with YAML

YAML parameters for FTPS

NameTypeDescription
action
Required
StringThe ID of the action.
type
Required
StringThe type of the action. Should be set to FTPS.
host
Required
StringThe host for the connection.
login
Required
StringThe username required to connect to the server.
password
Required
StringThe password required to connect to the server.
port
Required
StringThe port for the connection.
trigger_timeStringSpecifies when the action should be executed. Can be one of ON_EVERY_EXECUTION, ON_FAILURE or ON_BACK_TO_SUCCESS.
input_typeStringDefines whether the files are deployed from the repository or from the build filesystem. Can be one of SCM_REPOSITORY or BUILD_ARTIFACTS.
local_pathStringThe path in the repository.
remote_pathStringThe absolute or relative path on the remote server.
deployment_excludesString[]The paths and/or files that will be left our during the deployment.
deployment_includesString[]The exceptions from the ignore patterns set in deployment_excludes.
disabledBooleanWhen set to true the action is disabled. By default it is set to false.

YAML example for FTPS

actions:
- action: "Upload files to localhost"
type: "FTPS"
input_type: "SCM_REPOSITORY"
local_path: "/"
remote_path: "Home/www"
login: "api_tests_user"
password: "api_tests_password"
active_mode: true
host: "localhost"
port: "21"
deployment_excludes:
- "/assets"
- "file.txt"
deployment_includes:
- "/assets/assets-new/"
- "/assets/file.txt"