Copy files from another pipeline

Name Description
action Required String The ID of the action.
trigger_time Required String Specifies when the action should be executed. Can be one of ON_EVERY_EXECUTION, ON_FAILURE or ON_BACK_TO_SUCCESS.
type Required String The type of the action. Should be set to COPY_FILES.
source_pipeline_id Required Integer The id of the pipeline from which files will be copied.
source_path String The path in the source pipeline’s filesystem.
target_path String The path in the current pipeline’s filesystem.
deployment_excludes String[] The paths and/or files that will be left out during the deployment.
deployment_includes String[] The exceptions from the ignore patterns set in deployment_excludes.
trigger_condition String Defines when the build action should be run. Can be one of ALWAYS, ON_CHANGE or ON_CHANGE_AT_PATH.
trigger_condition_paths String[] Required when trigger_condition is set to ON_CHANGE_AT_PATH.
  - action: "Copy files from  backend/dev"
    type: "COPY_FILES"
    trigger_time: "ON_EVERY_EXECUTION"
    source_pipeline_id: 1
    source_path: "/src"
    target_path: "/www"
    - "/tmp"
    - "*.log"

Get started now

14 days of unlimited trial. No credit card required.