jenkins-job-builder/tests/yamlparser/job_fixtures/dimension_name_parameter_override_2.yaml
Vsevolod Fedorov d62faa15d4 Fix parameters overrides in dimensions specification
Task: 48621
Story: 2010883
Change-Id: Ia267f66c3832fb4a42a54a86bda259e96bb191fd
2023-08-16 11:54:18 +03:00

21 lines
522 B
YAML

# If a parameter with the same name as dimension name specified, it's value
# should be used as dimension parameter value.
- job-template:
name: job-{param_1}-{param_2}
builders:
- shell: echo {param_1} {param_2}
- project:
name: sample-project
param_1:
- param_1_key:
param_2: param_1_param_2_value_1
- param_2_key:
param_1: param_2_param_1_value_1
param_2: param_2_param_2_value_2
- param_3_key
param_2: param_2_value
jobs:
- job-{param_1}-{param_2}