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