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:
71 - wipe-org-opendaylight-repo
77 maven-opts: 'MAVEN_OPTS'
78 settings: '{PROJECT-settings}'
79 global-settings: '{odl-global-settings}'
80 ignore-upstream-changes: true
84 email-prefix: '[PROJECT]'
88 name: 'PROJECT-merge-{stream}'
90 # Job template for ODL merge jobs
92 # The purpose of this job template is to setup a ODL merge job
93 # and deploy artifacts to Nexus.
96 # stream: branch with - in place of / (eg. stable-helium)
97 # branch: branch (eg. stable/helium)
104 daysToKeep: '{build-days-to-keep}'
105 numToKeep: '{build-num-to-keep}'
106 artifactDaysToKeep: '{build-artifact-days-to-keep}'
107 artifactNumToKeep: '{build-artifact-num-to-keep}'
114 - gerrit-trigger-scm:
115 credentials-id: '{ssh-credentials}'
117 choosing-strategy: 'default'
121 - ssh-agent-credentials:
122 user: '{ssh-credentials}'
125 - gerrit-trigger-patch-merged:
130 - wipe-org-opendaylight-repo
133 maven-name: '{mvn32}'
135 goals: 'MAVEN_GOALS source:jar javadoc:jar'
136 maven-opts: 'MAVEN_OPTS'
137 settings: '{PROJECT-settings}'
138 global-settings: '{odl-global-settings}'
142 - email-notification:
143 email-prefix: '[PROJECT]'
147 deploy-unstable: false
151 name: 'PROJECT-daily-{stream}'
153 # Job template for daily builders
155 # The purpose of this job template is to setup a daily/nightly
156 # builder and pushes to Sonar analysis.
158 # Required Variables:
159 # stream: branch with - in place of / (eg. stable-helium)
160 # branch: branch (eg. stable/helium)
167 daysToKeep: '{build-days-to-keep}'
168 numToKeep: '{build-num-to-keep}'
169 artifactDaysToKeep: '{build-artifact-days-to-keep}'
170 artifactNumToKeep: '{build-artifact-num-to-keep}'
178 credentials-id: '{ssh-credentials}'
184 - ssh-agent-credentials:
185 user: '{ssh-credentials}'
191 - wipe-org-opendaylight-repo
194 maven-name: '{mvn32}'
196 goals: 'MAVEN_GOALS source:jar javadoc:jar'
197 maven-opts: 'MAVEN_OPTS'
198 settings: '{PROJECT-settings}'
199 global-settings: '{odl-global-settings}'
202 - email-notification:
203 email-prefix: '[PROJECT]'
207 name: 'PROJECT-integration-{stream}'
210 # Job template for ODL merge jobs
212 # The purpose of this job template is to setup a ODL merge job
213 # and deploy artifacts to Nexus.
215 # Required Variables:
216 # stream: branch with - in place of / (eg. stable-helium)
217 # branch: branch (eg. stable/helium)
224 daysToKeep: '{build-days-to-keep}'
225 numToKeep: '{build-num-to-keep}'
226 artifactDaysToKeep: '{build-artifact-days-to-keep}'
227 artifactNumToKeep: '{build-artifact-num-to-keep}'
235 credentials-id: '{ssh-credentials}'
241 - ssh-agent-credentials:
242 user: '{ssh-credentials}'
250 - wipe-org-opendaylight-repo
253 maven-name: '{mvn32}'
255 goals: 'MAVEN_GOALS source:jar javadoc:jar'
256 maven-opts: 'MAVEN_OPTS'
257 settings: '{PROJECT-settings}'
258 global-settings: '{odl-global-settings}'
261 - email-notification:
262 email-prefix: 'EMAIL_PREFIX'
266 deploy-unstable: false
270 name: 'PROJECT-sonar'
279 artifactDaysToKeep: '1'
280 artifactNumToKeep: '1'
288 credentials-id: '{ssh-credentials}'
290 branch: 'SONAR_BRANCH'
294 - ssh-agent-credentials:
295 user: '{ssh-credentials}'
301 maven-name: '{mvn32}'
303 goals: 'MAVEN_GOALS -Dsonar'
304 maven-opts: 'MAVEN_OPTS'
305 settings: '{PROJECT-settings}'
306 global-settings: '{odl-global-settings}'
311 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
312 - email-notification:
313 email-prefix: '[PROJECT]'