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