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}'
29 maven-version: 'mvn33'
33 refspec: '$GERRIT_REFSPEC'
34 choosing-strategy: 'gerrit'
37 - ecomp-infra-wrappers:
38 build-timeout: '{build-timeout}'
41 - gerrit-trigger-patch-submitted:
42 server: '{server-name}'
48 - provide-maven-settings:
49 global-settings-file: 'global-settings'
50 settings-file: '{mvn-settings}'
51 # make sure maven gets installed / setup
53 maven-version: 'mvn33'
55 settings: '{mvn-settings}'
57 global-settings: 'global-settings'
58 global-settings-type: cfp
62 # - ecomp-infra-shiplogs:
63 # maven-version: 'mvn33'
66 # Job template for 2 scm and script trigger
70 # build-node: what build node to run on
71 # script: build script to execute
72 # extra-project: extra gerrit project to checkout
73 # extra-refspec: refspec for the extra project
74 # extra-branch: branch to checkout for the extra project
75 # checkout-dir: directory to checkout the extra project to
76 # DO NOT SET THIS TO anything that translates to
77 # $WORKSPACE as it will destroy the initial
80 name: '{project-name}-{stream}-two-scm-verify-script'
82 project-type: freestyle
87 - ecomp-infra-properties:
88 build-days-to-keep: '{build-days-to-keep}'
91 - ecomp-infra-parameters:
94 refspec: 'refs/heads/{branch}'
95 artifacts: '{archive-artifacts}'
97 maven-version: 'mvn33'
100 - gerrit-trigger-scm:
101 refspec: '$GERRIT_REFSPEC'
102 choosing-strategy: 'gerrit'
104 project: '{extra-project}'
105 refspec: '{extra-refspec}'
106 branch: '{extra-branch}'
107 checkout-dir: '{checkout-dir}'
110 - ecomp-infra-wrappers:
111 build-timeout: '{build-timeout}'
114 - gerrit-trigger-patch-submitted:
115 server: '{server-name}'
121 - provide-maven-settings:
122 global-settings-file: 'global-settings'
123 settings-file: '{mvn-settings}'
124 # make sure maven gets installed / setup
126 maven-version: 'mvn33'
128 settings: '{mvn-settings}'
130 global-settings: 'global-settings'
131 global-settings-type: cfp
135 # - ecomp-infra-shiplogs:
136 # maven-version: 'mvn33'
140 # Job template for 3 scm and script trigger
142 # Required Variables:
144 # build-node: what build node to run on
145 # script: build script to execute
146 # extra-project1: extra gerrit project to checkout
147 # extra-refspec1: refspec for the extra project
148 # extra-branch1: branch to checkout for the extra project
149 # checkout-dir1: directory to checkout the extra project to
150 # DO NOT SET THIS TO anything that translates to
151 # $WORKSPACE as it will destroy the initial
153 # extra-project2: extra gerrit project to checkout
154 # extra-refspec2: refspec for the extra project
155 # extra-branch2: branch to checkout for the extra project
156 # checkout-dir2: directory to checkout the extra project to
157 # DO NOT SET THIS TO anything that translates to
158 # $WORKSPACE as it will destroy the initial
160 name: '{project-name}-{stream}-three-scm-verify-script'
162 project-type: freestyle
167 - ecomp-infra-properties:
168 build-days-to-keep: '{build-days-to-keep}'
171 - ecomp-infra-parameters:
174 refspec: 'refs/heads/{branch}'
175 artifacts: '{archive-artifacts}'
177 maven-version: 'mvn33'
180 - gerrit-trigger-scm:
181 refspec: '$GERRIT_REFSPEC'
182 choosing-strategy: 'gerrit'
184 project: '{extra-project1}'
185 refspec: '{extra-refspec1}'
186 branch: '{extra-branch1}'
187 checkout-dir: '{checkout-dir1}'
189 project: '{extra-project2}'
190 refspec: '{extra-refspec2}'
191 branch: '{extra-branch2}'
192 checkout-dir: '{checkout-dir2}'
195 - ecomp-infra-wrappers:
196 build-timeout: '{build-timeout}'
199 - gerrit-trigger-patch-submitted:
200 server: '{server-name}'
206 - provide-maven-settings:
207 global-settings-file: 'global-settings'
208 settings-file: '{mvn-settings}'
209 # make sure maven gets installed / setup
211 maven-version: 'mvn33'
213 settings: '{mvn-settings}'
215 global-settings: 'global-settings'
216 global-settings-type: cfp
220 # - ecomp-infra-shiplogs:
221 # maven-version: 'mvn33'