Merge "Public bridge specification for openstack 1node jobs"
[releng/builder.git] / jjb / ovsdb / ovsdb-full-integration.yaml
1 - project:
2     name: ovsdb-full-integration
3     jobs:
4         - 'ovsdb-daily-full-integration-{stream}'
5
6     # stream:    release stream (eg. stable-lithium or beryllium)
7     # branch:    git branch (eg. stable/lithium or master)
8     stream:
9         - boron:
10             branch: 'master'
11             jdk: openjdk8
12             jdks:
13                 - openjdk8
14         - beryllium:
15             branch: 'stable/beryllium'
16             jdk: openjdk8
17             jdks:
18                 - openjdk8
19         - stable-lithium:
20             branch: 'stable/lithium'
21             jdk: openjdk7
22             jdks:
23                 - openjdk7
24
25     project: 'ovsdb'
26     archive-artifacts: '*.log'
27
28 - job-template:
29     name: 'ovsdb-daily-full-integration-{stream}'
30
31     # Required Variables:
32     #     stream:    release stream (eg. stable-lithium or beryllium)
33     #     branch:    git branch (eg. stable/lithium or master)
34
35     project-type: matrix
36     node: matrix_master
37     description: 'Integration tests for the OVSDB project against different versions of OVS and branches. This job runs nightly. '
38     execution-strategy:
39         sequential: true
40
41     axes:
42         - axis:
43             type: user-defined
44             name: 'OVS_VERSION'
45             values:
46                 - 2.3.3
47                 - 2.4.0
48                 - 2.5.0
49         - axis:
50             type: jdk
51             values: '{obj:jdks}'
52
53         - axis:
54             type: slave
55             name: nodes
56             values:
57                 - centos7-docker-2c-4g
58
59     logrotate:
60         daysToKeep: '{build-days-to-keep}'
61         numToKeep: '{build-num-to-keep}'
62         artifactDaysToKeep: '{build-artifact-days-to-keep}'
63         artifactNumToKeep: '{build-artifact-num-to-keep}'
64
65     parameters:
66         - opendaylight-infra-parameters:
67             project: '{project}'
68             branch: '{branch}'
69             refspec: 'refs/heads/{branch}'
70             artifacts: '{archive-artifacts}'
71
72     scm:
73         - gerrit-trigger-scm:
74             refspec: '$GERRIT_REFSPEC'
75             branch: '{branch}'
76             choosing-strategy: gerrit
77
78     wrappers:
79         - opendaylight-infra-wrappers:
80             build-timeout: '{build-timeout}'
81
82     triggers:
83         - timed: '@midnight'
84         - gerrit:
85             server-name: 'OpenDaylight'
86             trigger-on:
87               - comment-added-contains-event:
88                  comment-contains-value: 'runit'
89             projects:
90               - project-compare-type: 'ANT'
91                 project-pattern: '{project}'
92                 branches:
93                   - branch-compare-type: 'ANT'
94                     branch-pattern: '**/{branch}'
95             skip-vote:
96                 successful: true
97                 failed: true
98                 unstable: true
99                 notbuilt: true
100
101     builders:
102         - wipe-org-opendaylight-repo
103         - shell:
104             !include-raw-escape:
105                 - include-raw-setup-docker.sh
106         - inject:
107             properties-file: env.properties
108         - maven-target:
109             maven-version: '{mvn33}'
110             pom: 'pom.xml'
111             goals: '-V -B -l build.log clean install dependency:tree -Pq -Dmaven.compile.fork=true'
112             properties:
113                 - 'maven.repo.local=/tmp/r'
114                 - 'org.ops4j.pax.url.mvn.localRepository=/tmp/r'
115                 - 'stream={stream}'
116             java-opts:
117                 - '-Xmx1024m -XX:MaxPermSize=256m'
118             settings: 'ovsdb-settings'
119             settings-type: cfp
120             global-settings: 'odl-global-settings'
121             global-settings-type: cfp
122         - maven-target:
123             maven-version: '{mvn33}'
124             pom: 'southbound/southbound-it/pom.xml'
125             goals: '-V -B verify -l southboundIT.log -Pintegrationtest -Dskip.karaf.featureTest=true -Dmaven.compile.fork=true -Dovsdb.controller.address=${{CONTROLLER_IP}}'
126             properties:
127                 - 'ovsdbserver.ipaddress=127.0.0.1'
128                 - 'ovsdbserver.port=6641'
129                 - 'ovsdb.userspace.enabled=yes'
130                 - 'maven.repo.local=/tmp/r'
131                 - 'org.ops4j.pax.url.mvn.localRepository=/tmp/r'
132                 - 'stream={stream}'
133             java-opts:
134                 - '-Xmx1024m -XX:MaxPermSize=256m'
135             settings: 'ovsdb-settings'
136             settings-type: cfp
137             global-settings: 'odl-global-settings'
138             global-settings-type: cfp
139         - shell:
140             !include-raw-escape:
141                 - include-setup-hwvtep-docker.sh
142         - maven-target:
143             maven-version: '{mvn33}'
144             pom: 'library/it/pom.xml'
145             goals: '-V -B verify -l libraryIT.log -Pintegrationtest -Dskip.karaf.featureTest=true -Dmaven.compile.fork=true -Dovsdb.controller.address=${{CONTROLLER_IP}}'
146             properties:
147                 - 'ovsdbserver.ipaddress=127.0.0.1'
148                 - 'ovsdbserver.port=6641'
149                 - 'ovsdb.userspace.enabled=yes'
150                 - 'maven.repo.local=/tmp/r'
151                 - 'org.ops4j.pax.url.mvn.localRepository=/tmp/r'
152                 - 'stream={stream}'
153             java-opts:
154                 - '-Xmx1024m -XX:MaxPermSize=256m'
155             settings: 'ovsdb-settings'
156             settings-type: cfp
157             global-settings: 'odl-global-settings'
158             global-settings-type: cfp
159         - maven-target:
160             maven-version: '{mvn33}'
161             pom: 'hwvtepsouthbound/hwvtepsouthbound-it/pom.xml'
162             goals: '-V -B verify -l hwvtepsouthboundIT.log -Pintegrationtest -Dskip.karaf.featureTest=true -Dmaven.compile.fork=true -Dovsdb.controller.address=${{CONTROLLER_IP}}'
163             properties:
164                 - 'ovsdbserver.ipaddress=127.0.0.1'
165                 - 'ovsdbserver.port=6641'
166                 - 'ovsdb.userspace.enabled=yes'
167                 - 'maven.repo.local=/tmp/r'
168                 - 'org.ops4j.pax.url.mvn.localRepository=/tmp/r'
169                 - 'stream={stream}'
170             java-opts:
171                 - '-Xmx1024m -XX:MaxPermSize=256m'
172             settings: 'ovsdb-settings'
173             settings-type: cfp
174             global-settings: 'odl-global-settings'
175             global-settings-type: cfp
176
177         - shell:
178             !include-raw-escape:
179                 - include-raw-cleanup-docker.sh
180         - jacoco-nojava-workaround
181
182     publishers:
183         - email-notification:
184             email-prefix: '[ovsdb]'
185         - archive-build:
186             maven-version: '{mvn33}'