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