Merge "Add script for gpg signing artifacts"
[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: openjdk7
17             jdks:
18                 - openjdk7
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                 - 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-parameter:
62             branch: '{branch}'
63
64     scm:
65         - git-scm:
66             credentials-id: '{ssh-credentials}'
67             refspec: ''
68             branch: '{branch}'
69
70     wrappers:
71         - timeout:
72             fail: true
73             timeout: 360
74             timeout-var: 'BUILD_TIMEOUT'
75             type: absolute
76         - ssh-agent-credentials:
77             users:
78                 - '{ssh-credentials}'
79
80     triggers:
81         - timed: '@midnight'
82
83     builders:
84         - wipe-org-opendaylight-repo
85         - shell:
86             !include-raw-escape:
87                 - include-raw-setup-docker.sh
88         - inject:
89             properties-file: env.properties
90         - maven-target:
91             maven-version: '{mvn33}'
92             pom: 'pom.xml'
93             goals: 'clean install -V verify -Pintegrationtest -Dskip.karaf.featureTest=true -Dmaven.compile.fork=true -Dovsdb.controller.address=${{CONTROLLER_IP}}'
94             properties:
95                 - 'ovsdbserver.ipaddress=127.0.0.1'
96                 - 'ovsdbserver.port=6641'
97                 - 'ovsdb.userspace.enabled=yes'
98                 - 'maven.repo.local=/tmp/r'
99                 - 'org.ops4j.pax.url.mvn.localRepository=/tmp/r'
100                 - 'stream={stream}'
101             java-opts:
102                 - '-Xmx1024m -XX:MaxPermSize=256m'
103             settings: '{ovsdb-settings}'
104             global-settings: '{odl-global-settings}'
105         - shell:
106             !include-raw-escape:
107                 - include-raw-cleanup-docker.sh
108         - jacoco-nojava-workaround
109
110     publishers:
111         - archive:
112             artifacts: 'docker-ovs-*.log'
113             fingerprint: false
114         - email-notification:
115             email-prefix: '[ovsdb]'