Merge "Jenkins build template controller-csit-rest-cars-perf"
[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         - beryllium:
10             branch: 'master'
11             jdk: openjdk8
12             jdks:
13                 - openjdk8
14         - stable-lithium:
15             branch: 'stable/lithium'
16             jdk: openjdk8
17             jdks:
18                 - openjdk8
19
20     project: 'ovsdb'
21
22 - job-template:
23     name: 'ovsdb-daily-full-integration-{stream}'
24
25     # Required Variables:
26     #     stream:    release stream (eg. stable-lithium or beryllium)
27     #     branch:    git branch (eg. stable/lithium or master)
28
29     project-type: matrix
30     node: matrix_master
31     description: 'Integration tests for the OVSDB project against different versions of OVS and branches. This job runs nightly. '
32     execution-strategy:
33         sequential: true
34
35     axes:
36         - axis:
37             type: user-defined
38             name: 'OVS_VERSION'
39             values:
40                 - 1.4.6
41                 - 1.5.0
42                 - 1.6.1
43                 - 1.7.0
44                 - 1.7.1
45                 - 1.7.3
46                 - 1.9.0
47                 - 1.9.3
48                 - 1.10.0
49                 - 1.10.2
50                 - 1.11.0
51                 - 2.0.0
52                 - 2.0.1
53                 - 2.1.0
54                 - 2.1.1
55                 - 2.1.2
56                 - 2.3.0
57                 - 2.3.1
58                 - 2.3.2
59         - axis:
60             type: jdk
61             values:
62                 - openjdk8
63         - axis:
64             type: slave
65             name: nodes
66             values:
67                 - dynamic_docker
68
69     logrotate:
70         daysToKeep: '{build-days-to-keep}'
71         numToKeep: '{build-num-to-keep}'
72         artifactDaysToKeep: '{build-artifact-days-to-keep}'
73         artifactNumToKeep: '{build-artifact-num-to-keep}'
74
75     parameters:
76         - project-parameter:
77             project: '{project}'
78         - gerrit-parameter:
79             branch: '{branch}'
80
81     scm:
82         - git-scm:
83             credentials-id: '{ssh-credentials}'
84             refspec: ''
85             branch: '{branch}'
86
87     wrappers:
88         - timeout:
89             fail: true
90             timeout: 360
91             timeout-var: 'BUILD_TIMEOUT'
92             type: absolute
93         - ssh-agent-credentials:
94             users:
95                 - '{ssh-credentials}'
96
97     triggers:
98         - timed: '@midnight'
99
100     builders:
101         - wipe-org-opendaylight-repo
102         - shell:
103             !include-raw-escape include-raw-setup-docker.sh
104         - maven-target:
105             maven-version: '{mvn33}'
106             pom: 'pom.xml'
107             goals: 'clean install verify -Pintegrationtest,jenkins -V'
108             properties:
109                 - 'ovsdbserver.ipaddress=127.0.0.1'
110                 - 'ovsdbserver.port=6641'
111                 - 'maven.repo.local=/tmp/r'
112                 - 'org.ops4j.pax.url.mvn.localRepository=/tmp/r'
113                 - 'stream={stream}'
114             java-opts:
115                 - '-Xmx1024m -XX:MaxPermSize=256m'
116             settings: '{ovsdb-settings}'
117             global-settings: '{odl-global-settings}'
118         - inject:
119             properties-file: env.properties
120         - shell:
121             !include-raw-escape include-raw-cleanup-docker.sh
122         - jacoco-nojava-workaround
123
124     publishers:
125         - archive:
126             artifacts: 'docker-ovs-*.log'
127             fingerprint: false
128         - email-notification:
129             email-prefix: '[ovsdb]'