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