Merge "move urllib3 and httplib2 upgrades to happen after devstack is done"
[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.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-parameters:
67             project: '{project}'
68             branch: '{branch}'
69             refspec: 'refs/heads/{branch}'
70
71     scm:
72         - gerrit-trigger-scm:
73             credentials-id: '{ssh-credentials}'
74             refspec: '$GERRIT_REFSPEC'
75             branch: '{branch}'
76             choosing-strategy: gerrit
77
78     wrappers:
79         - timeout:
80             fail: true
81             timeout: 360
82             timeout-var: 'BUILD_TIMEOUT'
83             type: absolute
84         - ssh-agent-credentials:
85             users:
86                 - '{ssh-credentials}'
87
88     triggers:
89         - timed: '@midnight'
90         - gerrit:
91             server-name: 'OpenDaylight'
92             trigger-on:
93               - comment-added-contains-event:
94                  comment-contains-value: 'runit'
95             projects:
96               - project-compare-type: 'ANT'
97                 project-pattern: '{project}'
98                 branches:
99                   - branch-compare-type: 'ANT'
100                     branch-pattern: '**/{branch}'
101             skip-vote:
102                 successful: true
103                 failed: true
104                 unstable: true
105                 notbuilt: true
106
107     builders:
108         - wipe-org-opendaylight-repo
109         - shell:
110             !include-raw-escape:
111                 - include-raw-setup-docker.sh
112         - inject:
113             properties-file: env.properties
114         - maven-target:
115             maven-version: '{mvn33}'
116             pom: 'pom.xml'
117             goals: 'clean install -V verify -Pintegrationtest -Dskip.karaf.featureTest=true -Dmaven.compile.fork=true -Dovsdb.controller.address=${{CONTROLLER_IP}}'
118             properties:
119                 - 'ovsdbserver.ipaddress=127.0.0.1'
120                 - 'ovsdbserver.port=6641'
121                 - 'ovsdb.userspace.enabled=yes'
122                 - 'maven.repo.local=/tmp/r'
123                 - 'org.ops4j.pax.url.mvn.localRepository=/tmp/r'
124                 - 'stream={stream}'
125             java-opts:
126                 - '-Xmx1024m -XX:MaxPermSize=256m'
127             settings: '{ovsdb-settings}'
128             global-settings: '{odl-global-settings}'
129         - shell:
130             !include-raw-escape:
131                 - include-raw-cleanup-docker.sh
132         - jacoco-nojava-workaround
133
134     publishers:
135         - archive:
136             artifacts: 'docker-ovs-*.log'
137             fingerprint: false
138         - email-notification:
139             email-prefix: '[ovsdb]'