blob: 09a5f9147ed927413b69eaf9c029652034f7f2b7 [file] [log] [blame]
Antoine Musso80edd5a2013-02-13 15:37:53 +01001# Template is going to be called with an extra parameter
2
3pipelines:
4 - name: 'check'
5 manager: IndependentPipelineManager
6 trigger:
Joshua Hesketh352264b2015-08-11 23:42:08 +10007 review_gerrit:
James E. Blair6c358e72013-07-29 17:06:47 -07008 - event: patchset-created
Antoine Musso80edd5a2013-02-13 15:37:53 +01009
10project-templates:
11 - name: template-generic
12 check:
13 # Template only uses the 'project' parameter'
14 - '{project}-merge'
15
16projects:
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'