Build configuration imports
Import YAML config snippets that can be shared across repositories.
If given a map, the following keys are supported:
source— The source to import build config from (type: string, e.g.:
mode— How to merge the imported config into the target config (defaults to deepmergeappend) (type: enum (string), known values:
if— Condition to determine if a build, stage, or job should be run, a config source imported, or a notification sent (type: string, e.g.:
branch = master, see: Conditional Builds, Stages, and Jobs, Conditional Notifications)
import: - source: "./import.yml@v1" mode: merge if: branch = master
import: - "./import.yml@v1"
import: source: "./import.yml@v1" mode: merge if: branch = master