FTP with YAML
Learn more about:
YAML parameters for FTP
Name | Type | Description |
---|---|---|
action Required | String | The ID of the action. |
type Required | String | The type of the action. Should be set to FTP . |
host Required | String | The host for the connection. |
login Required | String | The username required to connect to the server. |
password Required | String | The password required to connect to the server. |
port Required | String | The port for the connection. |
active_mode | Boolean | Enables the active mode for the connection. |
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. |
remote_path | String | The absolute or relative path on the remote server. |
deployment_excludes | String[] | The paths and/or files that will be left our during the deployment. |
deployment_includes | String[] | The exceptions from the ignore patterns set in deployment_excludes . |
use_temporary_files | Boolean | The files will be uploaded with a "tmp" suffix that will be removed once the upload has finished. |
YAML example for FTP
actions:- action: "Upload files to localhost"type: "FTP"input_type: "SCM_REPOSITORY"local_path: "/"remote_path: "Home/www"use_temporary_files: truelogin: "api_tests_user"password: "api_tests_password"host: "localhost"port: "21"deployment_excludes:- "/assets"- "file.txt"deployment_includes:- "/assets/assets-new/"- "/assets/file.txt"