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 - 'openflowplugin-verify-{stream}'
10 - 'openflowplugin-merge-{stream}'
11 - 'openflowplugin-daily-{stream}'
12 - 'openflowplugin-integration-{stream}'
13 - 'openflowplugin-sonar'
16 # stream: branch with - in place of / (eg. stable-helium)
17 # branch: branch (eg. stable/helium)
22 branch: 'stable/helium'
24 project: 'openflowplugin'
27 # For the Job templates below replace instances of:
28 # PROJECT with your project name (eg. controller)
29 # MAVEN_GOALS with your maven goals to build
30 # MAVEN_OPTS with your maven options to build
33 name: 'openflowplugin-verify-{stream}'
35 # Job template for ODL verify jobs
37 # The purpose of this job template is to setup a ODL verify job
40 # stream: branch with - in place of / (eg. stable-helium)
41 # branch: branch (eg. stable/helium)
60 daysToKeep: '{build-days-to-keep}'
61 numToKeep: '{build-num-to-keep}'
62 artifactDaysToKeep: '{build-artifact-days-to-keep}'
63 artifactNumToKeep: '{build-artifact-num-to-keep}'
73 credentials-id: '{ssh-credentials}'
74 refspec: '$GERRIT_REFSPEC'
75 choosing-strategy: 'gerrit'
79 - ssh-agent-credentials:
80 user: '{ssh-credentials}'
83 - gerrit-trigger-patch-submitted:
84 name: 'openflowplugin'
88 - wipe-org-opendaylight-repo
90 maven-version: '{mvn32}'
92 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install javadoc:aggregate'
94 - '-Xmx1024m -XX:MaxPermSize=256m'
95 settings: '{openflowplugin-settings}'
96 global-settings: '{odl-global-settings}'
97 - jacoco-nojava-workaround
100 - email-notification:
101 email-prefix: '[openflowplugin]'
105 name: 'openflowplugin-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:
143 name: 'openflowplugin'
147 - wipe-org-opendaylight-repo
150 maven-name: '{mvn32}'
152 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install javadoc:aggregate source:jar javadoc:jar'
153 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
154 settings: '{openflowplugin-settings}'
155 global-settings: '{odl-global-settings}'
158 - jacoco-nojava-workaround
162 artifacts: 'model/*/target/site/**'
163 - email-notification:
164 email-prefix: '[openflowplugin]'
168 deploy-unstable: false
172 name: 'openflowplugin-daily-{stream}'
174 # Job template for daily builders
176 # The purpose of this job template is to setup a daily/nightly
177 # builder and pushes to Sonar analysis.
179 # Required Variables:
180 # stream: branch with - in place of / (eg. stable-helium)
181 # branch: branch (eg. stable/helium)
188 daysToKeep: '{build-days-to-keep}'
189 numToKeep: '{build-num-to-keep}'
190 artifactDaysToKeep: '{build-artifact-days-to-keep}'
191 artifactNumToKeep: '{build-artifact-num-to-keep}'
199 credentials-id: '{ssh-credentials}'
205 - ssh-agent-credentials:
206 user: '{ssh-credentials}'
212 - wipe-org-opendaylight-repo
215 maven-name: '{mvn32}'
217 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install javadoc:aggregate source:jar javadoc:jar'
218 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
219 settings: '{openflowplugin-settings}'
220 global-settings: '{odl-global-settings}'
223 - jacoco-nojava-workaround
226 - email-notification:
227 email-prefix: '[openflowplugin]'
231 name: 'openflowplugin-integration-{stream}'
234 # Job template for ODL merge jobs
236 # The purpose of this job template is to setup a ODL merge job
237 # and deploy artifacts to Nexus.
239 # Required Variables:
240 # stream: branch with - in place of / (eg. stable-helium)
241 # branch: branch (eg. stable/helium)
248 daysToKeep: '{build-days-to-keep}'
249 numToKeep: '{build-num-to-keep}'
250 artifactDaysToKeep: '{build-artifact-days-to-keep}'
251 artifactNumToKeep: '{build-artifact-num-to-keep}'
259 credentials-id: '{ssh-credentials}'
265 - ssh-agent-credentials:
266 user: '{ssh-credentials}'
270 jobs: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream},openflowjava-merge-{stream}'
274 - wipe-org-opendaylight-repo
277 maven-name: '{mvn32}'
279 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install javadoc:aggregate source:jar javadoc:jar'
280 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
281 settings: '{openflowplugin-settings}'
282 global-settings: '{odl-global-settings}'
285 - jacoco-nojava-workaround
288 - email-notification:
289 email-prefix: '[openflowplugin] [odlparent] [yangtools] [controller] [openflowjava]'
293 name: 'openflowplugin-sonar'
302 artifactDaysToKeep: '1'
303 artifactNumToKeep: '1'
311 credentials-id: '{ssh-credentials}'
317 - ssh-agent-credentials:
318 user: '{ssh-credentials}'
324 maven-name: '{mvn32}'
326 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install javadoc:aggregate -Dsonar'
327 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
328 settings: '{openflowplugin-settings}'
329 global-settings: '{odl-global-settings}'
332 - jacoco-nojava-workaround
337 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
338 - email-notification:
339 email-prefix: '[openflowplugin]'