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