
Now, when tag !include-raw: has variable in included file path, included file is expanded. And lazy-loading mechanics is removed - now it can be expanded in the usual way. Change-Id: I7234d42793a080e7f4186707c4d1d2e9404bd7f3
19 lines
399 B
YAML
19 lines
399 B
YAML
# Variables should be substituted in included raw files
|
|
# when their path themselves contains variables.
|
|
|
|
- job-template:
|
|
name: 'sample-job-{version}'
|
|
builders:
|
|
- shell:
|
|
!include-raw: lazy-load-scripts/subst_vars_{version}.sh
|
|
|
|
- project:
|
|
name: sample-project
|
|
branch: master
|
|
version:
|
|
- 1.1
|
|
- 1.2:
|
|
branch: feature
|
|
jobs:
|
|
- 'sample-job-{version}'
|