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]'
194 name: 'PROJECT-integration-{stream}'
197 # Job template for ODL merge jobs
199 # The purpose of this job template is to setup a ODL merge job
200 # and deploy artifacts to Nexus.
202 # Required Variables:
203 # stream: branch with - in place of / (eg. stable-helium)
204 # branch: branch (eg. stable/helium)
211 daysToKeep: '{build-days-to-keep}'
212 numToKeep: '{build-num-to-keep}'
213 artifactDaysToKeep: '{build-artifact-days-to-keep}'
214 artifactNumToKeep: '{build-artifact-num-to-keep}'
222 credentials-id: '{ssh-credentials}'
228 - ssh-agent-credentials:
229 user: '{ssh-credentials}'
237 maven-name: '{mvn32}'
240 maven-opts: 'MAVEN_OPTS'
241 settings: '{PROJECT-settings}'
242 global-settings: '{odl-global-settings}'
245 - email-notification:
246 email-prefix: 'EMAIL_PREFIX'
249 name: 'PROJECT-sonar'
258 artifactDaysToKeep: '1'
259 artifactNumToKeep: '1'
267 credentials-id: '{ssh-credentials}'
273 - ssh-agent-credentials:
274 user: '{ssh-credentials}'
280 maven-name: '{mvn32}'
283 maven-opts: 'MAVEN_OPTS'
284 settings: '{PROJECT-settings}'
285 global-settings: '{odl-global-settings}'
290 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
291 - email-notification:
292 email-prefix: '[PROJECT]'