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: |
James E. Blair | 6c358e7 | 2013-07-29 17:06:47 -0700 | [diff] [blame] | 7 | gerrit: |
| 8 | - event: patchset-created |
Antoine Musso | 80edd5a | 2013-02-13 15:37:53 +0100 | [diff] [blame] | 9 | |
| 10 | project-templates: |
| 11 | - name: template-generic |
| 12 | check: |
| 13 | # Template only uses the 'project' parameter' |
| 14 | - '{project}-merge' |
| 15 | |
| 16 | projects: |
| 17 | - name: organization/project |
| 18 | template: |
| 19 | - name: template-generic |
| 20 | project: 'MyProjectName' |
| 21 | # Feed an extra parameters which is not going to be used |
| 22 | # by the template. That is an error. |
| 23 | extraparam: 'IShouldNotBeSet' |