Adding ability to build from different distribution branches
[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                 - 2.4.0
60         - axis:
61             type: jdk
62             values:
63                 - openjdk8
64         - axis:
65             type: slave
66             name: nodes
67             values:
68                 - dynamic_docker
69
70     logrotate:
71         daysToKeep: '{build-days-to-keep}'
72         numToKeep: '{build-num-to-keep}'
73         artifactDaysToKeep: '{build-artifact-days-to-keep}'
74         artifactNumToKeep: '{build-artifact-num-to-keep}'
75
76     parameters:
77         - project-parameter:
78             project: '{project}'
79         - gerrit-parameter:
80             branch: '{branch}'
81
82     scm:
83         - git-scm:
84             credentials-id: '{ssh-credentials}'
85             refspec: ''
86             branch: '{branch}'
87
88     wrappers:
89         - timeout:
90             fail: true
91             timeout: 360
92             timeout-var: 'BUILD_TIMEOUT'
93             type: absolute
94         - ssh-agent-credentials:
95             users:
96                 - '{ssh-credentials}'
97
98     triggers:
99         - timed: '@midnight'
100
101     builders:
102         - wipe-org-opendaylight-repo
103         - shell:
104             !include-raw-escape include-raw-setup-docker.sh
105         - maven-target:
106             maven-version: '{mvn33}'
107             pom: 'pom.xml'
108             goals: 'clean install verify -Pintegrationtest,jenkins -V'
109             properties:
110                 - 'ovsdbserver.ipaddress=127.0.0.1'
111                 - 'ovsdbserver.port=6641'
112                 - 'maven.repo.local=/tmp/r'
113                 - 'org.ops4j.pax.url.mvn.localRepository=/tmp/r'
114                 - 'stream={stream}'
115             java-opts:
116                 - '-Xmx1024m -XX:MaxPermSize=256m'
117             settings: '{ovsdb-settings}'
118             global-settings: '{odl-global-settings}'
119         - inject:
120             properties-file: env.properties
121         - shell:
122             !include-raw-escape include-raw-cleanup-docker.sh
123         - jacoco-nojava-workaround
124
125     publishers:
126         - archive:
127             artifacts: 'docker-ovs-*.log'
128             fingerprint: false
129         - email-notification:
130             email-prefix: '[ovsdb]'