Add controller clustering jobs to distribution test
[releng/builder.git] / jjb / controller / controller-verify.yaml
1 - project:
2     name: controller-verify
3     jobs:
4         - 'controller-verify-{stream}'
5         - 'controller-verify-stable-helium'
6
7
8     # stream:    branch with - in place of / (eg. stable-helium)
9     # branch:    branch (eg. stable/helium)
10     stream:
11         - master:
12             branch: 'master'
13         - stable-lithium:
14             branch: 'stable/lithium'
15
16     project: 'controller'
17
18 # For the Job templates below replace instances of:
19 # PROJECT with your project name (eg. controller)
20 # MAVEN_GOALS with your maven goals to build
21 # MAVEN_OPTS with your maven options to build
22
23 - job-template:
24     name: 'controller-verify-{stream}'
25
26     # Job template for ODL verify jobs
27     #
28     # The purpose of this job template is to setup a ODL verify job
29     #
30     # Required Variables:
31     #     stream:    branch with - in place of / (eg. stable-lithium)
32     #     branch:    branch (eg. stable/lithium)
33
34     project-type: matrix
35     node: matrix_master
36     concurrent: true
37
38     axes:
39         - axis:
40             type: slave
41             name: nodes
42             values:
43                 - dynamic_verify
44         - axis:
45             type: jdk
46             values:
47                 - openjdk7
48                 - openjdk8
49
50
51     logrotate:
52         daysToKeep: '{build-days-to-keep}'
53         numToKeep: '{build-num-to-keep}'
54         artifactDaysToKeep: '{build-artifact-days-to-keep}'
55         artifactNumToKeep: '{build-artifact-num-to-keep}'
56
57     parameters:
58         - project-parameter:
59             project: '{project}'
60         - gerrit-parameter:
61             branch: '{branch}'
62
63     scm:
64         - gerrit-trigger-scm:
65             credentials-id: '{ssh-credentials}'
66             refspec: '$GERRIT_REFSPEC'
67             choosing-strategy: 'gerrit'
68
69     wrappers:
70         - build-timeout
71         - ssh-agent-credentials:
72             users:
73                 - '{ssh-credentials}'
74
75     triggers:
76         - gerrit-trigger-patch-submitted:
77             name: 'controller'
78             branch: '{branch}'
79
80     builders:
81         - wipe-org-opendaylight-repo
82         - maven-target:
83             maven-version: '{mvn32}'
84             pom: 'pom.xml'
85             goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install -Pintegrationtests,docs'
86             java-opts:
87                 - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
88             settings: '{controller-settings}'
89             global-settings: '{odl-global-settings}'
90         - jacoco-nojava-workaround
91
92     publishers:
93         - findbugs
94         - email-notification:
95             email-prefix: '[controller]'
96         - jacoco-report
97
98 - job-template:
99     name: 'controller-verify-stable-helium'
100
101     project-type: matrix
102     node: matrix_master
103     concurrent: true
104
105     axes:
106         - axis:
107             type: slave
108             name: nodes
109             values:
110                 - dynamic_verify
111         - axis:
112             type: jdk
113             values:
114                 - openjdk7
115
116
117     logrotate:
118         daysToKeep: '{build-days-to-keep}'
119         numToKeep: '{build-num-to-keep}'
120         artifactDaysToKeep: '{build-artifact-days-to-keep}'
121         artifactNumToKeep: '{build-artifact-num-to-keep}'
122
123     parameters:
124         - project-parameter:
125             project: '{project}'
126         - gerrit-parameter:
127             branch: 'stable/helium'
128
129     scm:
130         - gerrit-trigger-scm:
131             credentials-id: '{ssh-credentials}'
132             refspec: '$GERRIT_REFSPEC'
133             choosing-strategy: 'gerrit'
134
135     wrappers:
136         - build-timeout
137         - ssh-agent-credentials:
138             users:
139                 - '{ssh-credentials}'
140
141     triggers:
142         - gerrit-trigger-patch-submitted:
143             name: 'controller'
144             branch: 'stable/helium'
145
146     builders:
147         - wipe-org-opendaylight-repo
148         - maven-target:
149             maven-version: '{mvn32}'
150             pom: 'pom.xml'
151             goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install -Pintegrationtests,docs'
152             java-opts:
153                 - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
154             settings: '{controller-settings}'
155             global-settings: '{odl-global-settings}'
156         - jacoco-nojava-workaround
157
158     publishers:
159         - findbugs
160         - email-notification:
161             email-prefix: '[controller]'
162         - jacoco-report