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 - 'iotdm-verify-{stream}'
10 - 'iotdm-merge-{stream}'
11 - 'iotdm-daily-{stream}'
12 - 'iotdm-integration-{stream}'
16 # stream: branch with - in place of / (eg. stable-helium)
17 # branch: branch (eg. stable/helium)
25 # For the Job templates below replace instances of:
26 # PROJECT with your project name (eg. controller)
27 # MAVEN_GOALS with your maven goals to build
28 # MAVEN_OPTS with your maven options to build
31 name: 'iotdm-verify-{stream}'
33 # Job template for ODL verify jobs
35 # The purpose of this job template is to setup a ODL verify job
38 # stream: branch with - in place of / (eg. stable-helium)
39 # branch: branch (eg. stable/helium)
59 daysToKeep: '{build-days-to-keep}'
60 numToKeep: '{build-num-to-keep}'
61 artifactDaysToKeep: '{build-artifact-days-to-keep}'
62 artifactNumToKeep: '{build-artifact-num-to-keep}'
72 credentials-id: '{ssh-credentials}'
73 refspec: '$GERRIT_REFSPEC'
74 choosing-strategy: 'gerrit'
78 - ssh-agent-credentials:
79 user: '{ssh-credentials}'
82 - gerrit-trigger-patch-submitted:
87 - wipe-org-opendaylight-repo
89 maven-version: '{mvn32}'
91 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
93 - '-Xmx1024m -XX:MaxPermSize=256m'
94 settings: '{iotdm-settings}'
95 global-settings: '{odl-global-settings}'
96 - jacoco-nojava-workaround
100 - email-notification:
101 email-prefix: '[iotdm]'
105 name: 'iotdm-merge-{stream}'
107 # Job template for ODL merge jobs
109 # The purpose of this job template is to setup a ODL merge job
110 # and deploy artifacts to Nexus.
112 # Required Variables:
113 # stream: branch with - in place of / (eg. stable-helium)
114 # branch: branch (eg. stable/helium)
121 daysToKeep: '{build-days-to-keep}'
122 numToKeep: '{build-num-to-keep}'
123 artifactDaysToKeep: '{build-artifact-days-to-keep}'
124 artifactNumToKeep: '{build-artifact-num-to-keep}'
131 - gerrit-trigger-scm:
132 credentials-id: '{ssh-credentials}'
134 choosing-strategy: 'default'
138 - ssh-agent-credentials:
139 user: '{ssh-credentials}'
142 - gerrit-trigger-patch-merged:
147 - wipe-org-opendaylight-repo
150 maven-name: '{mvn32}'
152 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
153 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
154 settings: '{iotdm-settings}'
155 global-settings: '{odl-global-settings}'
158 - jacoco-nojava-workaround
165 - email-notification:
166 email-prefix: '[iotdm]'
170 deploy-unstable: false
174 name: 'iotdm-daily-{stream}'
176 # Job template for daily builders
178 # The purpose of this job template is to setup a daily/nightly
179 # builder and pushes to Sonar analysis.
181 # Required Variables:
182 # stream: branch with - in place of / (eg. stable-helium)
183 # branch: branch (eg. stable/helium)
190 daysToKeep: '{build-days-to-keep}'
191 numToKeep: '{build-num-to-keep}'
192 artifactDaysToKeep: '{build-artifact-days-to-keep}'
193 artifactNumToKeep: '{build-artifact-num-to-keep}'
201 credentials-id: '{ssh-credentials}'
207 - ssh-agent-credentials:
208 user: '{ssh-credentials}'
214 - wipe-org-opendaylight-repo
217 maven-name: '{mvn32}'
219 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
220 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
221 settings: '{iotdm-settings}'
222 global-settings: '{odl-global-settings}'
225 - jacoco-nojava-workaround
231 - email-notification:
232 email-prefix: '[iotdm]'
236 name: 'iotdm-integration-{stream}'
239 # Job template for ODL merge jobs
241 # The purpose of this job template is to setup a ODL merge job
242 # and deploy artifacts to Nexus.
244 # Required Variables:
245 # stream: branch with - in place of / (eg. stable-helium)
246 # branch: branch (eg. stable/helium)
253 daysToKeep: '{build-days-to-keep}'
254 numToKeep: '{build-num-to-keep}'
255 artifactDaysToKeep: '{build-artifact-days-to-keep}'
256 artifactNumToKeep: '{build-artifact-num-to-keep}'
264 credentials-id: '{ssh-credentials}'
270 - ssh-agent-credentials:
271 user: '{ssh-credentials}'
275 jobs: 'controller-merge-{stream},yangtools-merge-{stream},odlparent-merge-{stream},aaa-merge-{stream}'
279 - wipe-org-opendaylight-repo
282 maven-name: '{mvn32}'
284 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
285 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
286 settings: '{iotdm-settings}'
287 global-settings: '{odl-global-settings}'
290 - jacoco-nojava-workaround
296 - email-notification:
297 email-prefix: '[iotdm] [controller] [yangtools] [odlparent] [aaa]'
310 artifactDaysToKeep: '1'
311 artifactNumToKeep: '1'
319 credentials-id: '{ssh-credentials}'
325 - ssh-agent-credentials:
326 user: '{ssh-credentials}'
332 maven-name: '{mvn32}'
334 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dsonar'
335 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
336 settings: '{iotdm-settings}'
337 global-settings: '{odl-global-settings}'
340 - jacoco-nojava-workaround
348 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
349 - email-notification:
350 email-prefix: '[iotdm]'