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