0e24962d8046d150eafb5cc7030a3ed2717faaa4
[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       - fluorine:
9           branch: 'master'
10       - oxygen:
11           branch: 'stable/oxygen'
12       - nitrogen:
13           branch: 'stable/nitrogen'
14       - carbon:
15           branch: 'stable/carbon'
16           karaf-version: karaf3
17
18     project: 'ovsdb'
19     archive-artifacts: '*.log'
20
21 - builder:
22     name: ovsdb-run-it
23     builders:
24       - maven-target:
25           maven-version: '{maven-version}'
26           pom: '{pomFile}'
27           goals: >
28               -V -B verify -l {logfile} -Pintegrationtest
29               -Dskip.karaf.featureTest=true -Dmaven.compile.fork=true
30               -Dovsdb.controller.address=${{CONTROLLER_IP}}
31           properties:
32             - 'ovsdbserver.ipaddress=127.0.0.1'
33             - 'ovsdbserver.port=6641'
34             - 'ovsdb.userspace.enabled=yes'
35             - 'maven.repo.local=/tmp/r'
36             - 'org.ops4j.pax.url.mvn.localRepository=/tmp/r'
37             - 'stream={stream}'
38           java-opts:
39             - '-Xmx1024m -XX:MaxPermSize=256m'
40           settings: 'ovsdb-settings'
41           settings-type: cfp
42           global-settings: 'global-settings'
43           global-settings-type: cfp
44
45 - builder:
46     name: run-library-it
47     builders:
48       - ovsdb-run-it:
49           maven-version: '{maven-version}'
50           stream: '{stream}'
51           pomFile: 'library/it/pom.xml'
52           logfile: '{OVS_VERSION}-libraryIT.log'
53
54 - builder:
55     name: run-southbound-it
56     builders:
57       - ovsdb-run-it:
58           maven-version: '{maven-version}'
59           stream: '{stream}'
60           pomFile: 'southbound/southbound-it/pom.xml'
61           logfile: '{OVS_VERSION}-southboundIT.log'
62
63 - builder:
64     name: run-hwvtepsouthbound-it
65     builders:
66       - ovsdb-run-it:
67           maven-version: '{maven-version}'
68           stream: '{stream}'
69           pomFile: 'hwvtepsouthbound/hwvtepsouthbound-it/pom.xml'
70           logfile: '{OVS_VERSION}-hwvtepsouthboundIT.log'
71
72 - builder:
73     name: run-ovsdb-it
74     builders:
75       - inject:
76           properties-content: OVS_VERSION={OVS_VERSION}
77       - shell: !include-raw-escape: setup-docker.sh
78       - inject:
79           properties-file: env.properties
80       - run-southbound-it:
81           OVS_VERSION: '{OVS_VERSION}'
82           maven-version: '{maven-version}'
83           stream: '{stream}'
84       - shell: !include-raw-escape: include-setup-hwvtep-docker.sh
85       - run-library-it:
86           OVS_VERSION: '{OVS_VERSION}'
87           maven-version: '{maven-version}'
88           stream: '{stream}'
89       - run-hwvtepsouthbound-it:
90           OVS_VERSION: '{OVS_VERSION}'
91           maven-version: '{maven-version}'
92           stream: '{stream}'
93       - shell: !include-raw-escape: cleanup-docker.sh
94
95 - job-template:
96     name: 'ovsdb-daily-full-integration-{stream}'
97
98     project-type: freestyle
99     node: centos7-docker-1c-4g
100     jdk: '{java-version}'
101     description: >
102         Integration tests for the OVSDB project against different versions of
103         OVS and branches. This job runs nightly.
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 -XX:MaxPermSize=256m'
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       - jacoco-nojava-workaround
171
172     publishers:
173       - email-notification:
174           email-recipients: '{email-recipients}'
175           email-prefix: '[ovsdb]'
176       - lf-infra-publish