1 # REMOVE THIS LINE IF YOU WANT TO CUSTOMIZE ANYTHING BELOW
2 # Otherwise this file will be automatically overwritten by the template
5 # ODL Releng build templates
9 - 'PROJECT-verify-{stream}'
10 - 'PROJECT-merge-{stream}'
11 - 'PROJECT-daily-{stream}'
12 - 'PROJECT-integration-{stream}'
15 # stream: branch with - in place of / (eg. stable-helium)
16 # branch: branch (eg. stable/helium)
21 # For the Job templates below replace instances of:
22 # PROJECT with your project name (eg. controller)
23 # MAVEN_GOALS with your maven goals to build
24 # MAVEN_OPTS with your maven options to build
27 name: 'PROJECT-verify-{stream}'
29 # Job template for ODL verify jobs
31 # The purpose of this job template is to setup a ODL verify job
34 # stream: branch with - in place of / (eg. stable-helium)
35 # branch: branch (eg. stable/helium)
43 daysToKeep: '{build-days-to-keep}'
44 numToKeep: '{build-num-to-keep}'
45 artifactDaysToKeep: '{build-artifact-days-to-keep}'
46 artifactNumToKeep: '{build-artifact-num-to-keep}'
56 credentials-id: '{ssh-credentials}'
57 refspec: '$GERRIT_REFSPEC'
58 choosing-strategy: 'gerrit'
62 - ssh-agent-credentials:
63 user: '{ssh-credentials}'
66 - gerrit-trigger-patch-submitted:
74 maven-opts: 'MAVEN_OPTS'
75 settings: '{PROJECT-settings}'
76 global-settings: '{odl-global-settings}'
77 ignore-upstream-changes: true
81 email-prefix: '[PROJECT]'
84 name: 'PROJECT-merge-{stream}'
86 # Job template for ODL merge jobs
88 # The purpose of this job template is to setup a ODL merge job
89 # and deploy artifacts to Nexus.
92 # stream: branch with - in place of / (eg. stable-helium)
93 # branch: branch (eg. stable/helium)
100 daysToKeep: '{build-days-to-keep}'
101 numToKeep: '{build-num-to-keep}'
102 artifactDaysToKeep: '{build-artifact-days-to-keep}'
103 artifactNumToKeep: '{build-artifact-num-to-keep}'
110 - gerrit-trigger-scm:
111 credentials-id: '{ssh-credentials}'
113 choosing-strategy: 'default'
117 - ssh-agent-credentials:
118 user: '{ssh-credentials}'
121 - gerrit-trigger-patch-merged:
126 maven-name: '{mvn32}'
129 maven-opts: 'MAVEN_OPTS'
130 settings: '{PROJECT-settings}'
131 global-settings: '{odl-global-settings}'
134 - email-notification:
135 email-prefix: '[PROJECT]'
139 deploy-unstable: false
142 name: 'PROJECT-daily-{stream}'
144 # Job template for daily builders
146 # The purpose of this job template is to setup a daily/nightly
147 # builder and pushes to Sonar analysis.
149 # Required Variables:
150 # stream: branch with - in place of / (eg. stable-helium)
151 # branch: branch (eg. stable/helium)
158 daysToKeep: '{build-days-to-keep}'
159 numToKeep: '{build-num-to-keep}'
160 artifactDaysToKeep: '{build-artifact-days-to-keep}'
161 artifactNumToKeep: '{build-artifact-num-to-keep}'
169 credentials-id: '{ssh-credentials}'
175 - ssh-agent-credentials:
176 user: '{ssh-credentials}'
182 maven-name: '{mvn32}'
185 maven-opts: 'MAVEN_OPTS'
186 settings: '{PROJECT-settings}'
187 global-settings: '{odl-global-settings}'
190 - email-notification:
191 email-prefix: '[PROJECT]'
195 name: 'PROJECT-integration-{stream}'
198 # Job template for ODL merge jobs
200 # The purpose of this job template is to setup a ODL merge job
201 # and deploy artifacts to Nexus.
203 # Required Variables:
204 # stream: branch with - in place of / (eg. stable-helium)
205 # branch: branch (eg. stable/helium)
212 daysToKeep: '{build-days-to-keep}'
213 numToKeep: '{build-num-to-keep}'
214 artifactDaysToKeep: '{build-artifact-days-to-keep}'
215 artifactNumToKeep: '{build-artifact-num-to-keep}'
223 credentials-id: '{ssh-credentials}'
229 - ssh-agent-credentials:
230 user: '{ssh-credentials}'
238 maven-name: '{mvn32}'
241 maven-opts: 'MAVEN_OPTS'
242 settings: '{PROJECT-settings}'
243 global-settings: '{odl-global-settings}'
246 - email-notification:
247 email-prefix: 'EMAIL_PREFIX'
251 deploy-unstable: false
254 name: 'PROJECT-sonar'
263 artifactDaysToKeep: '1'
264 artifactNumToKeep: '1'
272 credentials-id: '{ssh-credentials}'
274 branch: 'SONAR_BRANCH'
278 - ssh-agent-credentials:
279 user: '{ssh-credentials}'
285 maven-name: '{mvn32}'
288 maven-opts: 'MAVEN_OPTS'
289 settings: '{PROJECT-settings}'
290 global-settings: '{odl-global-settings}'
295 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
296 - email-notification:
297 email-prefix: '[PROJECT]'