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 - 'yangtools-merge-{stream}'
10 - 'yangtools-periodic-{stream}'
11 - 'yangtools-distribution-{stream}'
12 - 'yangtools-integration-{stream}'
14 - 'yangtools-clm-{stream}'
15 - 'yangtools-validate-autorelease-{stream}'
18 # stream: release stream (eg. stable-lithium or beryllium)
19 # branch: git branch (eg. stable/lithium or master)
26 disable_autorelease: False
28 branch: 'stable/beryllium'
33 disable_autorelease: False
35 branch: 'stable/lithium'
40 disable_autorelease: True
42 branch: 'stable/helium'
46 disable_autorelease: True
50 # For the Job templates below replace instances of:
51 # PROJECT_SHORTNAME with your project name (eg. circuitsw)
52 # PROJECT_PATH with your project name (eg. ofextensions/circuitsw)
53 # MAVEN_GOALS with your maven goals to build
54 # MAVEN_OPTS with your maven options to build
57 name: 'yangtools-merge-{stream}'
59 # Job template for ODL merge jobs
61 # The purpose of this job template is to setup a ODL merge job
62 # and deploy artifacts to Nexus.
65 # stream: release stream (eg. stable-lithium or beryllium)
66 # branch: git branch (eg. stable/lithium or master)
73 daysToKeep: '{build-days-to-keep}'
74 numToKeep: '{build-num-to-keep}'
75 artifactDaysToKeep: '{build-artifact-days-to-keep}'
76 artifactNumToKeep: '{build-artifact-num-to-keep}'
83 - gerrit-refspec-parameter:
84 refspec: 'refs/heads/{branch}'
88 credentials-id: '{ssh-credentials}'
90 choosing-strategy: 'default'
94 - ssh-agent-credentials:
100 - gerrit-trigger-patch-merged:
105 - wipe-org-opendaylight-repo
106 - jacoco-nojava-workaround
107 - provide-maven-settings:
108 global-settings-file: '{odl-global-settings}'
109 settings-file: '{yangtools-settings}'
112 maven-name: '{mvn33}'
114 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Djenkins -Dmerge -Dstream={stream}'
115 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
116 settings: '{yangtools-settings}'
117 global-settings: '{odl-global-settings}'
118 post-step-run-condition: UNSTABLE
122 condition-kind: file-exists
123 condition-filename: deploy-site.xml
124 condition-basedir: workspace
126 # The strategy here is intentional to run Maven site:deploy twice
127 # once using regular pom.xml to produce a staged-site which is
128 # then used by deploy-site.xml to push to Nexus. This is a
129 # workaround to Maven Site's default linking code which creates
130 # incorrect URLs for sites due to auto-detection assuming your
131 # project is configured in a certain way which ODL is not.
134 maven-version: '{mvn33}'
136 goals: 'site:deploy -Dstream={stream}'
139 settings: '{yangtools-settings}'
140 global-settings: '{odl-global-settings}'
142 maven-version: '{mvn33}'
144 goals: 'site:deploy -Dstream={stream}'
147 settings: '{yangtools-settings}'
148 global-settings: '{odl-global-settings}'
155 artifacts: '**/target/surefire-reports/*-output.txt, '
156 - email-notification:
157 email-prefix: '[yangtools]'
161 deploy-unstable: false
165 name: 'yangtools-periodic-{stream}'
167 # Job template for periodic builders
169 # The purpose of this job template is to setup a periodic
172 # Required Variables:
173 # stream: release stream (eg. stable-lithium or beryllium)
174 # branch: git branch (eg. stable/lithium or master)
181 daysToKeep: '{build-days-to-keep}'
182 numToKeep: '{build-num-to-keep}'
183 artifactDaysToKeep: '{build-artifact-days-to-keep}'
184 artifactNumToKeep: '{build-artifact-num-to-keep}'
192 credentials-id: '{ssh-credentials}'
198 - ssh-agent-credentials:
200 - '{ssh-credentials}'
206 - wipe-org-opendaylight-repo
207 - jacoco-nojava-workaround
208 - provide-maven-settings:
209 global-settings-file: '{odl-global-settings}'
210 settings-file: '{yangtools-settings}'
213 maven-name: '{mvn33}'
215 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Djenkins'
216 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
217 settings: '{yangtools-settings}'
218 global-settings: '{odl-global-settings}'
224 - email-notification:
225 email-prefix: '[yangtools]'
229 name: 'yangtools-distribution-{stream}'
231 # Required variables:
232 # stream: release stream (eg. stable-lithium or beryllium)
233 # branch: git branch (eg. stable/lithium or master)
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}'
247 project: 'integration/distribution'
251 credentials-id: '{ssh-credentials}'
257 - ssh-agent-credentials:
259 - '{ssh-credentials}'
263 jobs: '{project}-merge-{stream}'
267 - wipe-org-opendaylight-repo
268 - provide-maven-settings:
269 global-settings-file: '{odl-global-settings}'
270 settings-file: '{yangtools-settings}'
273 maven-name: '{mvn33}'
275 goals: 'clean install -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
276 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
277 settings: '{integration-settings}'
278 global-settings: '{odl-global-settings}'
281 - email-notification:
282 email-prefix: '[{project}]'
286 deploy-unstable: false
289 name: 'yangtools-integration-{stream}'
290 # Temporarily disable this job until Rackspace networking issues are
295 # Job template for ODL integration verify jobs
297 # This is similar to a normal verify job, but it runs
298 # when a project that's a dependency of your project
299 # is successfully built.
301 # Required Variables:
302 # stream: release stream (eg. stable-lithium or beryllium)
303 # branch: git branch (eg. stable/lithium or master)
310 daysToKeep: '{build-days-to-keep}'
311 numToKeep: '{build-num-to-keep}'
312 artifactDaysToKeep: '{build-artifact-days-to-keep}'
313 artifactNumToKeep: '{build-artifact-num-to-keep}'
321 credentials-id: '{ssh-credentials}'
327 - ssh-agent-credentials:
329 - '{ssh-credentials}'
333 jobs: 'odlparent-merge-{stream}'
337 - wipe-org-opendaylight-repo
338 - jacoco-nojava-workaround
339 - provide-maven-settings:
340 global-settings-file: '{odl-global-settings}'
341 settings-file: '{yangtools-settings}'
344 maven-name: '{mvn33}'
346 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Djenkins'
347 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
348 settings: '{yangtools-settings}'
349 global-settings: '{odl-global-settings}'
355 - email-notification:
356 email-prefix: '[yangtools] [odlparent]'
360 name: 'yangtools-sonar'
369 artifactDaysToKeep: '1'
370 artifactNumToKeep: '1'
378 credentials-id: '{ssh-credentials}'
384 - ssh-agent-credentials:
386 - '{ssh-credentials}'
390 - gerrit-trigger-patch-sonar:
394 - wipe-org-opendaylight-repo
395 - jacoco-nojava-workaround
396 - provide-maven-settings:
397 global-settings-file: '{odl-global-settings}'
398 settings-file: '{yangtools-settings}'
401 maven-name: '{mvn33}'
403 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Djenkins -Dsonar'
404 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
405 settings: '{yangtools-settings}'
406 global-settings: '{odl-global-settings}'
414 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
415 - email-notification:
416 email-prefix: '[yangtools]'
420 name: 'yangtools-clm-{stream}'
427 daysToKeep: '{build-days-to-keep}'
428 numToKeep: '{build-num-to-keep}'
429 artifactDaysToKeep: '{build-artifact-days-to-keep}'
430 artifactNumToKeep: '{build-artifact-num-to-keep}'
438 credentials-id: '{ssh-credentials}'
444 - ssh-agent-credentials:
446 - '{ssh-credentials}'
452 - wipe-org-opendaylight-repo
453 - provide-maven-settings:
454 global-settings-file: '{odl-global-settings}'
455 settings-file: '{yangtools-settings}'
458 maven-name: '{mvn33}'
460 goals: 'clean install com.sonatype.clm:clm-maven-plugin:index -Djenkins -DskipTests=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
461 maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
462 settings: '{yangtools-settings}'
463 global-settings: '{odl-global-settings}'
466 - shell: 'find . -regex ".*karaf/target" | xargs rm -rf'
468 application-name: yangtools
471 - email-notification:
472 email-prefix: '[yangtools]'
475 name: 'yangtools-validate-autorelease-{stream}'
476 disabled: '{obj:disable_autorelease}'
484 daysToKeep: '{build-days-to-keep}'
485 numToKeep: '{build-num-to-keep}'
486 artifactDaysToKeep: '{build-artifact-days-to-keep}'
487 artifactNumToKeep: '{build-artifact-num-to-keep}'
494 - autorelease-release-tag:
495 release-tag: 'validate'
496 - autorelease-release-branch:
497 release-branch: '{branch}'
498 - autorelease-release-datestamp:
503 url: 'https://git.opendaylight.org/gerrit/releng/autorelease'
512 - autorelease-build-timeout
513 - ssh-agent-credentials:
515 - '{ssh-credentials}'
519 server-name: 'OpenDaylight'
521 - patchset-created-event:
522 exclude-drafts: 'false'
523 exclude-trivial-rebase: 'false'
524 exclude-no-code-change: 'false'
525 - draft-published-event
526 - comment-added-contains-event:
527 comment-contains-value: 'recheck'
528 - comment-added-contains-event:
529 comment-contains-value: 'reverify'
530 - comment-added-contains-event:
531 comment-contains-value: 'revalidate'
533 - project-compare-type: 'ANT'
534 project-pattern: 'yangtools'
536 - branch-compare-type: 'ANT'
537 branch-pattern: '**/{branch}'
540 - wipe-org-opendaylight-repo
541 - jacoco-nojava-workaround
542 - autorelease-checkout-gerrit-patch
543 - autorelease-generate-taglist
544 - autorelease-generate-release-patches
546 maven-version: '{mvn33}'
547 pom: validate-pom.xml
548 goals: 'clean install -T1.5C -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
551 settings: '{autorelease-settings}'
552 global-settings: '{odl-global-settings}'
555 maven-name: '{mvn33}'
557 goals: 'clean validate -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
558 maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
559 settings: '{autorelease-settings}'
560 global-settings: '{odl-global-settings}'
561 automatic-archiving: false
562 post-step-run-condition: UNSTABLE
565 - shell: "./scripts/list-project-dependencies.sh"
566 - autorelease-sys-stats
571 - email-notification:
572 email-prefix: '[autorelease] [yangtools]'