289b5c55ad
Jinja2 formatter wasn't applied in case of macro parameter without arguments, due to `ModuleRegistry.dispatch` couldn't find the parameter definition in the registry. On other hand, project properties weren't applied for uno-choice parameter macro with arguments, so it makes impossible to use these parameters with macros. Change-Id: Idaff9307dff30567a80b917f6e5ac0717100c349
17 lines
351 B
YAML
17 lines
351 B
YAML
- parameter:
|
|
name: p_ACTIVE_CHOICES
|
|
parameters:
|
|
- active-choices:
|
|
name: ACTIVE_CHOICES
|
|
description: >-
|
|
Active choices.
|
|
script:
|
|
groovy: !j2: |
|
|
return ['{{ default }}']
|
|
|
|
- job:
|
|
name: my-job
|
|
parameters:
|
|
- p_ACTIVE_CHOICES:
|
|
default: default_value
|