Merge "Remove topoprocessing from AR validate Oxygen"
[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       - oxygen:
9           branch: 'master'
10           jdk: 'openjdk8'
11       - nitrogen:
12           branch: 'stable/nitrogen'
13           jre: 'openjdk8'
14       - carbon:
15           branch: 'stable/carbon'
16           jdk: openjdk8
17           jdks:
18             - openjdk8
19           karaf-version: karaf3
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 -XX:MaxPermSize=256m'
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     project-type: freestyle
102     node: centos7-docker-2c-4g
103     jdk: '{jdk}'
104     description: >
105         Integration tests for the OVSDB project against different versions of
106         OVS and branches. This job runs nightly.
107
108     properties:
109       - opendaylight-infra-properties:
110           build-days-to-keep: '{build-days-to-keep}'
111
112     parameters:
113       - opendaylight-infra-parameters:
114           os-cloud: '{os-cloud}'
115           project: '{project}'
116           branch: '{branch}'
117           refspec: 'refs/heads/{branch}'
118           artifacts: '{archive-artifacts}'
119
120     scm:
121       - gerrit-trigger-scm:
122           refspec: '$GERRIT_REFSPEC'
123           branch: '{branch}'
124           choosing-strategy: gerrit
125
126     wrappers:
127       - opendaylight-infra-wrappers:
128           build-timeout: '{build-timeout}'
129
130     triggers:
131       - timed: '@midnight'
132       - gerrit:
133           server-name: '{server-name}'
134           trigger-on:
135             - comment-added-contains-event:
136                 comment-contains-value: 'runit'
137           projects:
138             - project-compare-type: 'ANT'
139               project-pattern: '{project}'
140               branches:
141                 - branch-compare-type: 'ANT'
142                   branch-pattern: '**/{branch}'
143           skip-vote:
144             successful: true
145             failed: true
146             unstable: true
147             notbuilt: true
148
149     builders:
150       - wipe-org-opendaylight-repo
151       - maven-target:
152           maven-version: 'mvn33'
153           pom: 'pom.xml'
154           goals: '-V -B -l build.log clean install dependency:tree -Pq -Dmaven.compile.fork=true'
155           properties:
156             - 'maven.repo.local=/tmp/r'
157             - 'org.ops4j.pax.url.mvn.localRepository=/tmp/r'
158             - 'stream={stream}'
159           java-opts:
160             - '-Xmx1024m -XX:MaxPermSize=256m'
161           settings: 'ovsdb-settings'
162           settings-type: cfp
163           global-settings: 'global-settings'
164           global-settings-type: cfp
165       - run-ovsdb-it:
166           maven-version: 'mvn33'
167           stream: '{stream}'
168           OVS_VERSION: '2.4.0'
169       - run-ovsdb-it:
170           maven-version: 'mvn33'
171           stream: '{stream}'
172           OVS_VERSION: '2.5.0'
173       - jacoco-nojava-workaround
174
175     publishers:
176       - email-notification:
177           email-recipients: '{email-recipients}'
178           email-prefix: '[ovsdb]'
179       - lf-infra-publish