Debian Codegraph @

tests/yamlparser/job_fixtures/macro-uses-custom-defaults.yaml

raw symbols SCIP
1 # Macros use custom defaults.
2
3 - defaults:
4 name: custom
5 global_param: sample global param value
6
7 - builder:
8 name: builder-without-params
9 defaults: custom
10 builders:
11 - shell: |
12 echo "builder-without-params: Should be expanded: {global_param}"
13 - shell: !include-raw-expand: macro-uses-custom-defaults.yaml.inc
14
15 - builder:
16 name: builder-with-params
17 defaults: custom
18 builders:
19 - shell: |
20 echo "builder-with-params: Should be expanded: {param}"
21 - shell: |
22 echo "builder-with-params: Should be expanded: {global_param}"
23 - shell: !include-raw-expand: macro-uses-custom-defaults.yaml.inc
24
25 - job-template:
26 name: sample-job-template
27 display-name: sample-job-template
28 builders:
29 - builder-without-params
30 - builder-with-params:
31 param: sample macro param value
32
33 - project:
34 name: sample-project
35 jobs:
36 - sample-job-template