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)
49 daysToKeep: '{build-days-to-keep}'
50 numToKeep: '{build-num-to-keep}'
51 artifactDaysToKeep: '{build-artifact-days-to-keep}'
52 artifactNumToKeep: '{build-artifact-num-to-keep}'
62 credentials-id: '{ssh-credentials}'
63 refspec: '$GERRIT_REFSPEC'
64 choosing-strategy: 'gerrit'
68 - ssh-agent-credentials:
69 user: '{ssh-credentials}'
72 - gerrit-trigger-patch-submitted:
73 name: 'openflowplugin'
77 - wipe-org-opendaylight-repo
82 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install javadoc:aggregate'
83 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
84 settings: '{openflowplugin-settings}'
85 global-settings: '{odl-global-settings}'
86 ignore-upstream-changes: true
89 - jacoco-nojava-workaround
93 email-prefix: '[openflowplugin]'
97 name: 'openflowplugin-merge-{stream}'
99 # Job template for ODL merge jobs
101 # The purpose of this job template is to setup a ODL merge job
102 # and deploy artifacts to Nexus.
104 # Required Variables:
105 # stream: branch with - in place of / (eg. stable-helium)
106 # branch: branch (eg. stable/helium)
113 daysToKeep: '{build-days-to-keep}'
114 numToKeep: '{build-num-to-keep}'
115 artifactDaysToKeep: '{build-artifact-days-to-keep}'
116 artifactNumToKeep: '{build-artifact-num-to-keep}'
123 - gerrit-trigger-scm:
124 credentials-id: '{ssh-credentials}'
126 choosing-strategy: 'default'
130 - ssh-agent-credentials:
131 user: '{ssh-credentials}'
134 - gerrit-trigger-patch-merged:
135 name: 'openflowplugin'
139 - wipe-org-opendaylight-repo
142 maven-name: '{mvn32}'
144 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install javadoc:aggregate source:jar javadoc:jar'
145 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
146 settings: '{openflowplugin-settings}'
147 global-settings: '{odl-global-settings}'
150 - jacoco-nojava-workaround
154 artifacts: 'model/*/target/site/**'
155 - email-notification:
156 email-prefix: '[openflowplugin]'
160 deploy-unstable: false
164 name: 'openflowplugin-daily-{stream}'
166 # Job template for daily builders
168 # The purpose of this job template is to setup a daily/nightly
169 # builder and pushes to Sonar analysis.
171 # Required Variables:
172 # stream: branch with - in place of / (eg. stable-helium)
173 # branch: branch (eg. stable/helium)
180 daysToKeep: '{build-days-to-keep}'
181 numToKeep: '{build-num-to-keep}'
182 artifactDaysToKeep: '{build-artifact-days-to-keep}'
183 artifactNumToKeep: '{build-artifact-num-to-keep}'
191 credentials-id: '{ssh-credentials}'
197 - ssh-agent-credentials:
198 user: '{ssh-credentials}'
204 - wipe-org-opendaylight-repo
207 maven-name: '{mvn32}'
209 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install javadoc:aggregate source:jar javadoc:jar'
210 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
211 settings: '{openflowplugin-settings}'
212 global-settings: '{odl-global-settings}'
215 - jacoco-nojava-workaround
218 - email-notification:
219 email-prefix: '[openflowplugin]'
223 name: 'openflowplugin-integration-{stream}'
226 # Job template for ODL merge jobs
228 # The purpose of this job template is to setup a ODL merge job
229 # and deploy artifacts to Nexus.
231 # Required Variables:
232 # stream: branch with - in place of / (eg. stable-helium)
233 # branch: branch (eg. stable/helium)
240 daysToKeep: '{build-days-to-keep}'
241 numToKeep: '{build-num-to-keep}'
242 artifactDaysToKeep: '{build-artifact-days-to-keep}'
243 artifactNumToKeep: '{build-artifact-num-to-keep}'
251 credentials-id: '{ssh-credentials}'
257 - ssh-agent-credentials:
258 user: '{ssh-credentials}'
262 jobs: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream},openflowjava-merge-{stream}'
266 - wipe-org-opendaylight-repo
269 maven-name: '{mvn32}'
271 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install javadoc:aggregate source:jar javadoc:jar'
272 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
273 settings: '{openflowplugin-settings}'
274 global-settings: '{odl-global-settings}'
277 - jacoco-nojava-workaround
280 - email-notification:
281 email-prefix: '[openflowplugin] [odlparent] [yangtools] [controller] [openflowjava]'
285 deploy-unstable: false
289 name: 'openflowplugin-sonar'
298 artifactDaysToKeep: '1'
299 artifactNumToKeep: '1'
307 credentials-id: '{ssh-credentials}'
313 - ssh-agent-credentials:
314 user: '{ssh-credentials}'
320 maven-name: '{mvn32}'
322 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install javadoc:aggregate -Dsonar'
323 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
324 settings: '{openflowplugin-settings}'
325 global-settings: '{odl-global-settings}'
328 - jacoco-nojava-workaround
333 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
334 - email-notification:
335 email-prefix: '[openflowplugin]'