Jenkins jobs builder job-group parameter substitution not working
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Core Infrastructure |
In Progress
|
Undecided
|
Unassigned |
Bug Description
Documentation states that, when defining a job-group "The jobs: list can also allow for specifying job-specific substitutions "
I'm using version 0.7.0.18.g72c02d4 and (copying the doc example) this does not work for me:
- job-template:
name: '{name}-build'
description: |
- job-template:
name: '{name}-upload'
- job-group:
name: python-jobs
jobs:
- '{name}-build':
- '{name}-upload':
- project:
name: foo
jobs:
- python-jobs
when I test this configuration the output XML contains only
<project>
<actions/>
<description>
and not the expected foo-upload
Changed in openstack-ci: | |
assignee: | nobody → Khai Do (zaro0508) |
Changed in openstack-ci: | |
assignee: | nobody → Khai Do (zaro0508) |
status: | Confirmed → In Progress |
Changed in openstack-ci: | |
assignee: | Khai Do (zaro0508) → nobody |
tags: | added: jjb |
Changed in openstack-ci: | |
assignee: | nobody → Khai Do (zaro0508) |
Changed in openstack-ci: | |
assignee: | Khai Do (zaro0508) → nobody |
The example in the doc is misleading. JJB currently will do substitution on the jobs 'list' but not on the parameters of the 'list'. Substitution on job list parameters would be a new feature. I think i will change the documentation so it's less misleading to users. I will leave this issue open as a feature request.