jenkins-job-builder/tests/yamlparser/fixtures/lazy-load-jobs-multi002.yaml
Aleksandr Charykov 50fd0d2833 Fix !include parsing with variable
Do not overwrite template string when parsing yaml.

Story: 2000996
Change-Id: Id1b12be69c3994fa4108a9841c0128da9dc883ef
2017-04-20 16:03:22 +01:00

14 lines
260 B
YAML

- job-template:
name: "test-job-{job_name}"
builders:
- shell:
!include-raw: 'lazy-load-scripts/echo_vars_{job_name}.sh'
- project:
name: 'test-project'
job_name:
- 1.1
- 1.2
jobs:
- "test-job-{job_name}"