2 # vim: sw=2 ts=2 sts=2 et :
5 # Job template for basic scm and script trigger
9 # build-node: what build node to run on
10 # script: build script to execute
12 name: '{project-name}-{stream}-verify-script'
14 project-type: freestyle
19 - ecomp-infra-properties:
20 build-days-to-keep: '{build-days-to-keep}'
23 - ecomp-infra-parameters:
26 refspec: 'refs/heads/{branch}'
27 artifacts: '{archive-artifacts}'
31 refspec: '$GERRIT_REFSPEC'
32 choosing-strategy: 'gerrit'
35 - ecomp-infra-wrappers:
36 build-timeout: '{build-timeout}'
39 - gerrit-trigger-patch-submitted:
40 server: '{server-name}'
46 - provide-maven-settings:
47 global-settings-file: 'global-settings'
48 settings-file: '{mvn-settings}'
49 # make sure maven gets installed / setup
51 maven-version: 'mvn33'
53 settings: '{mvn-settings}'
55 global-settings: 'global-settings'
56 global-settings-type: cfp
60 # - ecomp-infra-shiplogs:
61 # maven-version: 'mvn33'
64 # Job template for 2 scm and script trigger
68 # build-node: what build node to run on
69 # script: build script to execute
70 # extra-project: extra gerrit project to checkout
71 # extra-refspec: refspec for the extra project
72 # extra-branch: branch to checkout for the extra project
73 # checkout-dir: directory to checkout the extra project to
74 # DO NOT SET THIS TO anything that translates to
75 # $WORKSPACE as it will destroy the initial
78 name: '{project-name}-{stream}-two-scm-verify-script'
80 project-type: freestyle
85 - ecomp-infra-properties:
86 build-days-to-keep: '{build-days-to-keep}'
89 - ecomp-infra-parameters:
92 refspec: 'refs/heads/{branch}'
93 artifacts: '{archive-artifacts}'
97 refspec: '$GERRIT_REFSPEC'
98 choosing-strategy: 'gerrit'
100 project: '{extra-project}'
101 refspec: '{extra-refspec}'
102 branch: '{extra-branch}'
103 checkout-dir: '{checkout-dir}'
106 - ecomp-infra-wrappers:
107 build-timeout: '{build-timeout}'
110 - gerrit-trigger-patch-submitted:
111 server: '{server-name}'
117 - provide-maven-settings:
118 global-settings-file: 'global-settings'
119 settings-file: '{mvn-settings}'
120 # make sure maven gets installed / setup
122 maven-version: 'mvn33'
124 settings: '{mvn-settings}'
126 global-settings: 'global-settings'
127 global-settings-type: cfp
131 # - ecomp-infra-shiplogs:
132 # maven-version: 'mvn33'
136 # Job template for 3 scm and script trigger
138 # Required Variables:
140 # build-node: what build node to run on
141 # script: build script to execute
142 # extra-project1: extra gerrit project to checkout
143 # extra-refspec1: refspec for the extra project
144 # extra-branch1: branch to checkout for the extra project
145 # checkout-dir1: directory to checkout the extra project to
146 # DO NOT SET THIS TO anything that translates to
147 # $WORKSPACE as it will destroy the initial
149 # extra-project2: extra gerrit project to checkout
150 # extra-refspec2: refspec for the extra project
151 # extra-branch2: branch to checkout for the extra project
152 # checkout-dir2: directory to checkout the extra project to
153 # DO NOT SET THIS TO anything that translates to
154 # $WORKSPACE as it will destroy the initial
156 name: '{project-name}-{stream}-three-scm-verify-script'
158 project-type: freestyle
163 - ecomp-infra-properties:
164 build-days-to-keep: '{build-days-to-keep}'
167 - ecomp-infra-parameters:
170 refspec: 'refs/heads/{branch}'
171 artifacts: '{archive-artifacts}'
174 - gerrit-trigger-scm:
175 refspec: '$GERRIT_REFSPEC'
176 choosing-strategy: 'gerrit'
178 project: '{extra-project1}'
179 refspec: '{extra-refspec1}'
180 branch: '{extra-branch1}'
181 checkout-dir: '{checkout-dir1}'
183 project: '{extra-project2}'
184 refspec: '{extra-refspec2}'
185 branch: '{extra-branch2}'
186 checkout-dir: '{checkout-dir2}'
189 - ecomp-infra-wrappers:
190 build-timeout: '{build-timeout}'
193 - gerrit-trigger-patch-submitted:
194 server: '{server-name}'
200 - provide-maven-settings:
201 global-settings-file: 'global-settings'
202 settings-file: '{mvn-settings}'
203 # make sure maven gets installed / setup
205 maven-version: 'mvn33'
207 settings: '{mvn-settings}'
209 global-settings: 'global-settings'
210 global-settings-type: cfp
214 # - ecomp-infra-shiplogs:
215 # maven-version: 'mvn33'