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