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