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