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)
61 daysToKeep: '{build-days-to-keep}'
62 numToKeep: '{build-num-to-keep}'
63 artifactDaysToKeep: '{build-artifact-days-to-keep}'
64 artifactNumToKeep: '{build-artifact-num-to-keep}'
74 credentials-id: '{ssh-credentials}'
75 refspec: '$GERRIT_REFSPEC'
76 choosing-strategy: 'gerrit'
80 - ssh-agent-credentials:
81 user: '{ssh-credentials}'
84 - gerrit-trigger-patch-submitted:
85 name: 'openflowplugin'
89 - wipe-org-opendaylight-repo
91 maven-version: '{mvn32}'
93 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install javadoc:aggregate'
95 - '-Xmx1024m -XX:MaxPermSize=256m'
96 settings: '{openflowplugin-settings}'
97 global-settings: '{odl-global-settings}'
98 - jacoco-nojava-workaround
102 - email-notification:
103 email-prefix: '[openflowplugin]'
107 name: 'openflowplugin-merge-{stream}'
109 # Job template for ODL merge jobs
111 # The purpose of this job template is to setup a ODL merge job
112 # and deploy artifacts to Nexus.
114 # Required Variables:
115 # stream: branch with - in place of / (eg. stable-helium)
116 # branch: branch (eg. stable/helium)
123 daysToKeep: '{build-days-to-keep}'
124 numToKeep: '{build-num-to-keep}'
125 artifactDaysToKeep: '{build-artifact-days-to-keep}'
126 artifactNumToKeep: '{build-artifact-num-to-keep}'
133 - gerrit-trigger-scm:
134 credentials-id: '{ssh-credentials}'
136 choosing-strategy: 'default'
140 - ssh-agent-credentials:
141 user: '{ssh-credentials}'
144 - gerrit-trigger-patch-merged:
145 name: 'openflowplugin'
149 - wipe-org-opendaylight-repo
152 maven-name: '{mvn32}'
154 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install javadoc:aggregate source:jar javadoc:jar'
155 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
156 settings: '{openflowplugin-settings}'
157 global-settings: '{odl-global-settings}'
160 - jacoco-nojava-workaround
167 artifacts: 'model/*/target/site/**'
168 - email-notification:
169 email-prefix: '[openflowplugin]'
173 deploy-unstable: false
177 name: 'openflowplugin-daily-{stream}'
179 # Job template for daily builders
181 # The purpose of this job template is to setup a daily/nightly
182 # builder and pushes to Sonar analysis.
184 # Required Variables:
185 # stream: branch with - in place of / (eg. stable-helium)
186 # branch: branch (eg. stable/helium)
193 daysToKeep: '{build-days-to-keep}'
194 numToKeep: '{build-num-to-keep}'
195 artifactDaysToKeep: '{build-artifact-days-to-keep}'
196 artifactNumToKeep: '{build-artifact-num-to-keep}'
204 credentials-id: '{ssh-credentials}'
210 - ssh-agent-credentials:
211 user: '{ssh-credentials}'
217 - wipe-org-opendaylight-repo
220 maven-name: '{mvn32}'
222 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install javadoc:aggregate source:jar javadoc:jar'
223 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
224 settings: '{openflowplugin-settings}'
225 global-settings: '{odl-global-settings}'
228 - jacoco-nojava-workaround
234 - email-notification:
235 email-prefix: '[openflowplugin]'
239 name: 'openflowplugin-integration-{stream}'
242 # Job template for ODL merge jobs
244 # The purpose of this job template is to setup a ODL merge job
245 # and deploy artifacts to Nexus.
247 # Required Variables:
248 # stream: branch with - in place of / (eg. stable-helium)
249 # branch: branch (eg. stable/helium)
256 daysToKeep: '{build-days-to-keep}'
257 numToKeep: '{build-num-to-keep}'
258 artifactDaysToKeep: '{build-artifact-days-to-keep}'
259 artifactNumToKeep: '{build-artifact-num-to-keep}'
267 credentials-id: '{ssh-credentials}'
273 - ssh-agent-credentials:
274 user: '{ssh-credentials}'
278 jobs: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream},openflowjava-merge-{stream}'
282 - wipe-org-opendaylight-repo
285 maven-name: '{mvn32}'
287 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install javadoc:aggregate source:jar javadoc:jar'
288 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
289 settings: '{openflowplugin-settings}'
290 global-settings: '{odl-global-settings}'
293 - jacoco-nojava-workaround
299 - email-notification:
300 email-prefix: '[openflowplugin] [odlparent] [yangtools] [controller] [openflowjava]'
304 name: 'openflowplugin-sonar'
313 artifactDaysToKeep: '1'
314 artifactNumToKeep: '1'
322 credentials-id: '{ssh-credentials}'
328 - ssh-agent-credentials:
329 user: '{ssh-credentials}'
335 maven-name: '{mvn32}'
337 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install javadoc:aggregate -Dsonar'
338 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
339 settings: '{openflowplugin-settings}'
340 global-settings: '{odl-global-settings}'
343 - jacoco-nojava-workaround
351 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
352 - email-notification:
353 email-prefix: '[openflowplugin]'