cd057a858a
Change-Id: I3c407b9ddfa5d2ad0c5041e2fb7953cea8935bbd
25 lines
591 B
YAML
25 lines
591 B
YAML
# Parameter defined at template level (param_3) should see parameters defined under project axes level.
|
|
|
|
- builder:
|
|
name: sample_builder
|
|
builders:
|
|
- shell: 'echo {param_3}'
|
|
|
|
- job-template:
|
|
name: job-{axis_1}
|
|
param_3: !j2: '[{{ param_1 | default("") }}] [{{ param_2 | default("") }}]'
|
|
builders:
|
|
- sample_builder:
|
|
param_3: '{param_3}'
|
|
|
|
- project:
|
|
name: sample-project
|
|
param_1: param_1_group_default
|
|
axis_1:
|
|
- key_1:
|
|
param_1: param_1_value_1
|
|
- key_2:
|
|
param_2: param_2_value_2
|
|
jobs:
|
|
- job-{axis_1}
|