Merge "Update validate-ar jobs for silicon"
[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       - phosphorus:
9           branch: "master"
10           java-version: "openjdk11"
11       - silicon:
12           branch: "stable/silicon"
13           java-version: "openjdk11"
14       - aluminium:
15           branch: "stable/aluminium"
16           java-version: "openjdk11"
17       - magnesium:
18           branch: "stable/magnesium"
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
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