Disable Lithium jobs
[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         - carbon:
10             branch: 'master'
11             jdk: openjdk8
12             jdks:
13                 - openjdk8
14         - boron:
15             branch: 'stable/boron'
16             jdk: openjdk8
17             jdks:
18                 - openjdk8
19         - beryllium:
20             branch: 'stable/beryllium'
21             jdk: openjdk8
22             jdks:
23                 - openjdk8
24
25     project: 'netvirt'
26     archive-artifacts: '*.log'
27
28 - builder:
29     name: netvirt-run-it
30     builders:
31         - maven-target:
32             maven-version: '{maven-version}'
33             pom: '{pomFile}'
34             goals: '-V -B verify -l {logfile} -Pintegrationtest -Dskip.karaf.featureTest=true -Dmaven.compile.fork=true -Dovsdb.controller.address=${{CONTROLLER_IP}}'
35             properties:
36                 - 'ovsdbserver.ipaddress=127.0.0.1'
37                 - 'ovsdbserver.port=6641'
38                 - 'ovsdb.userspace.enabled=yes'
39                 - 'maven.repo.local=/tmp/r'
40                 - 'org.ops4j.pax.url.mvn.localRepository=/tmp/r'
41                 - 'stream={stream}'
42             java-opts:
43                 - '-Xmx1024m -XX:MaxPermSize=256m'
44             settings: 'netvirt-settings'
45             settings-type: cfp
46             global-settings: 'odl-global-settings'
47             global-settings-type: cfp
48
49 - builder:
50     name: run-net-virt-it
51     builders:
52         - netvirt-run-it:
53             maven-version: '{maven-version}'
54             stream: '{stream}'
55             pomFile: 'openstack/net-virt-it/pom.xml'
56             logfile: '{OVS_VERSION}-net-virt-IT.log'
57
58 - builder:
59     name: run-netvirt-sfc-it
60     builders:
61         - netvirt-run-it:
62             maven-version: '{maven-version}'
63             stream: '{stream}'
64             pomFile: 'openstack/net-virt-sfc/it/pom.xml'
65             logfile: '{OVS_VERSION}-netvirt-sfc-IT.log'
66
67 - builder:
68     name: run-netvirt-it
69     builders:
70         - inject:
71             properties-content: OVS_VERSION={OVS_VERSION}
72         - shell:
73             !include-raw-escape:
74                 - include-raw-setup-docker.sh
75         - inject:
76             properties-file: env.properties
77         - run-net-virt-it:
78             OVS_VERSION: '{OVS_VERSION}'
79             maven-version: '{maven-version}'
80             stream: '{stream}'
81         - run-netvirt-sfc-it:
82             OVS_VERSION: '{OVS_VERSION}'
83             maven-version: '{maven-version}'
84             stream: '{stream}'
85         - shell:
86             !include-raw-escape:
87                 - include-raw-cleanup-docker.sh
88
89 - job-template:
90     name: 'netvirt-daily-full-integration-{stream}'
91     disabled: {disabled}
92     node: centos7-docker-2c-4g
93
94     # Required Variables:
95     #     stream:    release stream (eg. stable-lithium or beryllium)
96     #     branch:    git branch (eg. stable/lithium or master)
97
98     project-type: freestyle
99     jdk: '{jdk}'
100     description: 'Integration tests for the Netvirt project against different versions of OVS and branches. This job runs nightly. '
101
102     logrotate:
103         daysToKeep: '{build-days-to-keep}'
104         numToKeep: '{build-num-to-keep}'
105         artifactDaysToKeep: '{build-artifact-days-to-keep}'
106         artifactNumToKeep: '{build-artifact-num-to-keep}'
107
108     parameters:
109         - opendaylight-infra-parameters:
110             project: '{project}'
111             branch: '{branch}'
112             refspec: 'refs/heads/{branch}'
113             artifacts: '{archive-artifacts}'
114
115     scm:
116         - gerrit-trigger-scm:
117             refspec: '$GERRIT_REFSPEC'
118             branch: '{branch}'
119             choosing-strategy: gerrit
120
121     wrappers:
122         - opendaylight-infra-wrappers:
123             build-timeout: '{build-timeout}'
124
125     triggers:
126         - timed: '@midnight'
127         - gerrit:
128             server-name: 'OpenDaylight'
129             trigger-on:
130               - comment-added-contains-event:
131                  comment-contains-value: 'runit'
132             projects:
133               - project-compare-type: 'ANT'
134                 project-pattern: '{project}'
135                 branches:
136                   - branch-compare-type: 'ANT'
137                     branch-pattern: '**/{branch}'
138             skip-vote:
139                 successful: true
140                 failed: true
141                 unstable: true
142                 notbuilt: true
143
144     builders:
145         - wipe-org-opendaylight-repo
146         - maven-target:
147             maven-version: '{mvn33}'
148             pom: 'pom.xml'
149             goals: '-V -B -l build.log clean install dependency:tree -Pq -Dmaven.compile.fork=true'
150             properties:
151                 - 'maven.repo.local=/tmp/r'
152                 - 'org.ops4j.pax.url.mvn.localRepository=/tmp/r'
153                 - 'stream={stream}'
154             java-opts:
155                 - '-Xmx1024m -XX:MaxPermSize=256m'
156             settings: 'netvirt-settings'
157             settings-type: cfp
158             global-settings: 'odl-global-settings'
159             global-settings-type: cfp
160         - run-netvirt-it:
161             maven-version: '{mvn33}'
162             stream: '{stream}'
163             OVS_VERSION: '2.4.0'
164         - run-netvirt-it:
165             maven-version: '{mvn33}'
166             stream: '{stream}'
167             OVS_VERSION: '2.5.0'
168         - jacoco-nojava-workaround
169
170     publishers:
171         - email-notification:
172             email-prefix: '[netvirt]'
173         - archive-build:
174             maven-version: '{mvn33}'