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