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