Merge "Perform dependency:tree goal on every maven build"
[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         - 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: 'ovsdb'
26
27 - job-template:
28     name: 'ovsdb-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 OVSDB 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.3
46                 - 2.4.0
47                 - 2.5.0
48         - axis:
49             type: jdk
50             values: '{obj:jdks}'
51
52         - axis:
53             type: slave
54             name: nodes
55             values:
56                 - dynamic_docker
57
58     logrotate:
59         daysToKeep: '{build-days-to-keep}'
60         numToKeep: '{build-num-to-keep}'
61         artifactDaysToKeep: '{build-artifact-days-to-keep}'
62         artifactNumToKeep: '{build-artifact-num-to-keep}'
63
64     parameters:
65         - opendaylight-infra-parameters:
66             project: '{project}'
67             branch: '{branch}'
68             refspec: 'refs/heads/{branch}'
69             artifacts: '{archive-artifacts}'
70
71     scm:
72         - gerrit-trigger-scm:
73             refspec: '$GERRIT_REFSPEC'
74             branch: '{branch}'
75             choosing-strategy: gerrit
76
77     wrappers:
78         - opendaylight-infra-wrappers:
79             build-timeout: '{build-timeout}'
80
81     triggers:
82         - timed: '@midnight'
83         - gerrit:
84             server-name: 'OpenDaylight'
85             trigger-on:
86               - comment-added-contains-event:
87                  comment-contains-value: 'runit'
88             projects:
89               - project-compare-type: 'ANT'
90                 project-pattern: '{project}'
91                 branches:
92                   - branch-compare-type: 'ANT'
93                     branch-pattern: '**/{branch}'
94             skip-vote:
95                 successful: true
96                 failed: true
97                 unstable: true
98                 notbuilt: true
99
100     builders:
101         - wipe-org-opendaylight-repo
102         - shell:
103             !include-raw-escape:
104                 - include-raw-setup-docker.sh
105         - inject:
106             properties-file: env.properties
107         - maven-target:
108             maven-version: '{mvn33}'
109             pom: 'pom.xml'
110             goals: 'clean install dependency:tree -V verify -Pintegrationtest -Dskip.karaf.featureTest=true -Dmaven.compile.fork=true -Dovsdb.controller.address=${{CONTROLLER_IP}}'
111             properties:
112                 - 'ovsdbserver.ipaddress=127.0.0.1'
113                 - 'ovsdbserver.port=6641'
114                 - 'ovsdb.userspace.enabled=yes'
115                 - 'maven.repo.local=/tmp/r'
116                 - 'org.ops4j.pax.url.mvn.localRepository=/tmp/r'
117                 - 'stream={stream}'
118             java-opts:
119                 - '-Xmx1024m -XX:MaxPermSize=256m'
120             settings: 'ovsdb-settings'
121             settings-type: cfp
122             global-settings: 'odl-global-settings'
123             global-settings-type: cfp
124         - shell:
125             !include-raw-escape:
126                 - include-raw-cleanup-docker.sh
127         - jacoco-nojava-workaround
128
129     publishers:
130         - archive:
131             artifacts: 'docker-ovs-*.log'
132             fingerprint: false
133         - email-notification:
134             email-prefix: '[ovsdb]'