Copy files from another pipeline with YAML
YAML parameters for Copy files from another pipeline
You can find the list with common parameters for all Buddy actions here.
|action ||String||The ID of the action.|
|type ||String||The type of the action. Should be set to |
|source_pipeline_id ||Integer||The ID of the pipeline from which files will be copied. Not required if both |
|source_project_name ||String||The name of the project containing the pipeline from which files will be copied. Not required if |
|source_pipeline_name ||String||The name of the pipeline from which files will be copied. Not required if |
|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 |
|copy_hidden_files||Boolean||When set to |
YAML example for Copy files from another pipeline
actions:- action: "Copy files from backend/dev"type: "COPY_FILES"copy_hidden_files: truetrigger_time: "ON_EVERY_EXECUTION"source_project_name: "backend"source_pipeline_name: "dev"source_path: "/src"target_path: "/www"deployment_excludes:- "/tmp"- "*.log"deployment_includes:- "/tmp/assets"- "/tmp/styles"