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