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