71f166ff20b5eda996f1894500c87f3e26f93e6a
[releng/builder.git] / jjb / integration / distribution / distribution.yaml
1 # REMOVE THIS LINE IF YOU WANT TO CUSTOMIZE ANYTHING BELOW
2 # Otherwise this file will be automatically overwritten by the template
3 # autobuilder.
4
5 # ODL Releng build templates
6 - project:
7     name: distribution
8     jobs:
9         - '{name}-clm-{stream}'
10         - '{name}-distribution-{stream}'
11         - '{name}-distribution-check-{stream}'
12         - '{name}-integration-{stream}'
13         - '{name}-periodic-{stream}'
14         - '{name}-validate-autorelease-{stream}'
15         - 'distribution-sonar'
16
17
18     # stream:    release stream (eg. stable-lithium or beryllium)
19     # branch:    git branch (eg. stable/lithium or master)
20     stream:
21         - boron:
22             branch: 'master'
23             jdk: openjdk8
24             jdks:
25                 - openjdk8
26             disable_autorelease: False
27             disable_distribution_check: False
28         - beryllium:
29             branch: 'stable/beryllium'
30             jdk: openjdk8
31             jdks:
32                 - openjdk8
33                 - openjdk7
34             disable_autorelease: False
35             disable_distribution_check: False
36
37     project: 'integration/distribution'
38     mvn-settings: 'integration-distribution-settings'
39     mvn-goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
40     mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
41     dependencies: 'odlparent-merge-{stream}'
42     email-upstream: '[distribution] [odlparent]'
43
44 # For the Job templates below replace instances of:
45 # PROJECT_SHORTNAME with your project name (eg. circuitsw)
46 # PROJECT_PATH with your project name (eg. ofextensions/circuitsw)
47 # MAVEN_GOALS with your maven goals to build
48 # MAVEN_OPTS with your maven options to build
49
50 - job-template:
51     name: 'distribution-sonar'
52     disabled: false
53
54     project-type: maven
55     node: dynamic_verify
56     jdk: 'openjdk8'
57
58     logrotate:
59         daysToKeep: '7'
60         numToKeep: '10'
61         artifactDaysToKeep: '1'
62         artifactNumToKeep: '1'
63
64     parameters:
65         - opendaylight-infra-parameters:
66             project: '{project}'
67             branch: '{branch}'
68             refspec: 'refs/heads/{branch}'
69             artifacts: '{archive-artifacts}'
70
71     scm:
72         - git-scm:
73             refspec: ''
74             branch: 'master'
75
76     wrappers:
77         - opendaylight-infra-wrappers:
78             build-timeout: '{build-timeout}'
79
80     triggers:
81         - timed: 'H H * * 6'
82         - gerrit-trigger-patch-sonar:
83             name: 'integration/distribution'
84
85     prebuilders:
86         - jacoco-nojava-workaround
87         - provide-maven-settings:
88             global-settings-file: 'odl-global-settings'
89             settings-file: 'integration-distribution-settings'
90
91     maven:
92         maven-name: '{mvn33}'
93         root-pom: 'pom.xml'
94         goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r  -V -B -Djenkins -Dsonar'
95         maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
96         settings: 'integration-distribution-settings'
97         settings-type: cfp
98         global-settings: 'odl-global-settings'
99         global-settings-type: cfp
100
101     reporters:
102         - findbugs
103
104     publishers:
105         - sonar:
106             language: 'java'
107             maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
108         - email-notification:
109             email-prefix: '[distribution]'
110         - jacoco-report
111         - archive-build:
112             maven-version: '{mvn33}'
113