Use predictable maven-settings naming scheme
[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
20     project: 'netvirt'
21
22 - job-template:
23     name: 'netvirt-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 netvirt 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                 - 2.3.2
41                 - 2.4.0
42         - axis:
43             type: jdk
44             values: '{obj:jdks}'
45
46         - axis:
47             type: slave
48             name: nodes
49             values:
50                 - dynamic_docker
51
52     logrotate:
53         daysToKeep: '{build-days-to-keep}'
54         numToKeep: '{build-num-to-keep}'
55         artifactDaysToKeep: '{build-artifact-days-to-keep}'
56         artifactNumToKeep: '{build-artifact-num-to-keep}'
57
58     parameters:
59         - project-parameter:
60             project: '{project}'
61         - gerrit-parameters:
62             project: '{project}'
63             branch: '{branch}'
64             refspec: 'refs/heads/{branch}'
65
66     scm:
67         - git-scm:
68             credentials-id: '{ssh-credentials}'
69             refspec: ''
70             branch: '{branch}'
71
72     wrappers:
73         - timeout:
74             fail: true
75             timeout: 360
76             timeout-var: 'BUILD_TIMEOUT'
77             type: absolute
78         - ssh-agent-credentials:
79             users:
80                 - '{ssh-credentials}'
81
82     triggers:
83         - timed: '@midnight'
84
85     builders:
86         - wipe-org-opendaylight-repo
87         - shell:
88             !include-raw-escape:
89                 - include-raw-setup-docker.sh
90         - inject:
91             properties-file: env.properties
92         - maven-target:
93             maven-version: '{mvn33}'
94             pom: 'pom.xml'
95             goals: 'clean install -V verify -Pintegrationtest -Dskip.karaf.featureTest=true -Dmaven.compile.fork=true -Dovsdb.controller.address=${{CONTROLLER_IP}}'
96             properties:
97                 - 'ovsdbserver.ipaddress=127.0.0.1'
98                 - 'ovsdbserver.port=6641'
99                 - 'ovsdb.userspace.enabled=yes'
100                 - 'maven.repo.local=/tmp/r'
101                 - 'org.ops4j.pax.url.mvn.localRepository=/tmp/r'
102                 - 'stream={stream}'
103             java-opts:
104                 - '-Xmx1024m -XX:MaxPermSize=256m'
105             settings: 'netvirt-settings'
106             settings-type: cfp
107             global-settings: 'odl-global-settings'
108             global-settings-type: cfp
109         - shell:
110             !include-raw-escape:
111                 - include-raw-cleanup-docker.sh
112         - jacoco-nojava-workaround
113
114     publishers:
115         - archive:
116             artifacts: 'docker-ovs-*.log'
117             fingerprint: false
118         - email-notification:
119             email-prefix: '[netvirt]'