Antoine Musso | 80edd5a | 2013-02-13 15:37:53 +0100 | [diff] [blame] | 1 | # Template is going to be called with an extra parameter |
| 2 | |
| 3 | pipelines: |
| 4 | - name: 'check' |
| 5 | manager: IndependentPipelineManager |
| 6 | trigger: |
| 7 | - event: patchset-created |
| 8 | |
| 9 | project-templates: |
| 10 | - name: template-generic |
| 11 | check: |
| 12 | # Template only uses the 'project' parameter' |
| 13 | - '{project}-merge' |
| 14 | |
| 15 | projects: |
| 16 | - name: organization/project |
| 17 | template: |
| 18 | - name: template-generic |
| 19 | project: 'MyProjectName' |
| 20 | # Feed an extra parameters which is not going to be used |
| 21 | # by the template. That is an error. |
| 22 | extraparam: 'IShouldNotBeSet' |