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