# Template is going to be called with an extra parameter | |
pipelines: | |
- name: 'check' | |
manager: IndependentPipelineManager | |
trigger: | |
gerrit: | |
- event: patchset-created | |
project-templates: | |
- name: template-generic | |
check: | |
# Template only uses the 'project' parameter' | |
- '{project}-merge' | |
projects: | |
- name: organization/project | |
template: | |
- name: template-generic | |
project: 'MyProjectName' | |
# Feed an extra parameters which is not going to be used | |
# by the template. That is an error. | |
extraparam: 'IShouldNotBeSet' |