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