# https://storyboard.openstack.org/#!/story/2010535 # Fixed: Bug: JJB doesn't expand macro in case of usage without arguments # String templates in macro calls without parameters are NOT expanded. # Jinja2 templates in macro calls without parameters ARE expanded. - parameter: name: p_PARAM_1 parameters: - string: name: PARAM_1 # Not expanded: default: '{default|my_default}' - parameter: name: p_PARAM_2 parameters: - string: name: PARAM_2 # Expanded to default value: default: !j2: '{{ default | default("my_default") }}' # job definition - job-template: name: sample-job parameters: - p_PARAM_1 - p_PARAM_2 - project: name: sample-project jobs: - sample-job