2 name: netvirt-full-integration
4 - 'netvirt-daily-full-integration-{stream}'
6 # stream: release stream (eg. stable-lithium or beryllium)
7 # branch: git branch (eg. stable/lithium or master)
15 branch: 'stable/boron'
20 branch: 'stable/beryllium'
26 archive-artifacts: '*.log **/target/surefire-reports/*.txt'
29 name: netvirt-run-it-external-docker
32 maven-version: '{maven-version}'
34 goals: '-V -B verify -l {logfile} -Pintegrationtest -Dskip.karaf.featureTest=true -Dmaven.compile.fork=true -Dovsdb.controller.address=${{CONTROLLER_IP}} -Dmaven.test.failure.ignore=true'
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'
43 - '-Xmx1024m -XX:MaxPermSize=256m'
44 settings: 'netvirt-settings'
46 global-settings: 'odl-global-settings'
47 global-settings-type: cfp
50 name: netvirt-run-it-dockerOvs
53 maven-version: '{maven-version}'
55 goals: '-V -B verify -l {logfile} -Pintegrationtest -Dskip.karaf.featureTest=true -Dmaven.compile.fork=true -Dovsdb.controller.address=${{CONTROLLER_IP}} -Ddocker.compose.file=ovs-{OVS_VERSION}-hwvtep.yml -Ddocker.vEnvWs=$WORKSPACE -Dsgm=transparent -Dmaven.test.failure.ignore=true'
57 - 'maven.repo.local=/tmp/r'
58 - 'org.ops4j.pax.url.mvn.localRepository=/tmp/r'
61 - '-Xmx1024m -XX:MaxPermSize=256m'
62 settings: 'netvirt-settings'
64 global-settings: 'odl-global-settings'
65 global-settings-type: cfp
70 - netvirt-run-it-dockerOvs:
71 maven-version: '{maven-version}'
73 pomFile: 'openstack/net-virt-it/pom.xml'
74 logfile: '{OVS_VERSION}-net-virt-IT.log'
75 OVS_VERSION: '{OVS_VERSION}'
78 name: run-netvirt-sfc-it
80 - netvirt-run-it-external-docker:
81 maven-version: '{maven-version}'
83 pomFile: 'openstack/net-virt-sfc/it/pom.xml'
84 logfile: '{OVS_VERSION}-netvirt-sfc-IT.log'
87 name: run-netvirt-vpnservice-it
89 - netvirt-run-it-dockerOvs:
90 maven-version: '{maven-version}'
92 pomFile: 'vpnservice/it/pom.xml'
93 logfile: '{OVS_VERSION}-netvirt-vpnservice-IT.log'
94 OVS_VERSION: '{OVS_VERSION}'
97 name: install-docker-compose
100 virtualenv $WORKSPACE/venv
101 source $WORKSPACE/venv/bin/activate
102 pip install --upgrade pip
103 pip install docker-compose
110 properties-content: OVS_VERSION={OVS_VERSION}
113 - include-setup-misc.sh
115 properties-file: env.properties
116 - install-docker-compose
117 - run-netvirt-vpnservice-it:
118 OVS_VERSION: '{OVS_VERSION}'
119 maven-version: '{maven-version}'
122 OVS_VERSION: '{OVS_VERSION}'
123 maven-version: '{maven-version}'
127 - include-raw-setup-docker.sh
129 properties-file: env.properties
130 - run-netvirt-sfc-it:
131 OVS_VERSION: '{OVS_VERSION}'
132 maven-version: '{maven-version}'
136 - include-raw-cleanup-docker.sh
139 name: 'netvirt-daily-full-integration-{stream}'
141 # Required Variables:
142 # stream: release stream (eg. stable-lithium or beryllium)
143 # branch: git branch (eg. stable/lithium or master)
145 project-type: freestyle
146 node: centos7-docker-2c-4g
148 description: 'Integration tests for the Netvirt project against different versions of OVS and branches. This job runs nightly. '
151 daysToKeep: '{build-days-to-keep}'
152 numToKeep: '{build-num-to-keep}'
153 artifactDaysToKeep: '{build-artifact-days-to-keep}'
154 artifactNumToKeep: '{build-artifact-num-to-keep}'
157 - opendaylight-infra-parameters:
160 refspec: 'refs/heads/{branch}'
161 artifacts: '{archive-artifacts}'
164 - gerrit-trigger-scm:
165 refspec: '$GERRIT_REFSPEC'
167 choosing-strategy: gerrit
170 - opendaylight-infra-wrappers:
171 build-timeout: '{build-timeout}'
176 server-name: 'OpenDaylight'
178 - comment-added-contains-event:
179 comment-contains-value: 'runit'
181 - project-compare-type: 'ANT'
182 project-pattern: '{project}'
184 - branch-compare-type: 'ANT'
185 branch-pattern: '**/{branch}'
193 - wipe-org-opendaylight-repo
195 maven-version: '{mvn33}'
197 goals: '-V -B -l build.log clean install dependency:tree -Pq -Dmaven.compile.fork=true'
199 - 'maven.repo.local=/tmp/r'
200 - 'org.ops4j.pax.url.mvn.localRepository=/tmp/r'
203 - '-Xmx1024m -XX:MaxPermSize=256m'
204 settings: 'netvirt-settings'
206 global-settings: 'odl-global-settings'
207 global-settings-type: cfp
208 # skip 2.4.0 until we figure out conntrack
210 # maven-version: '{mvn33}'
212 # OVS_VERSION: '2.4.0'
214 maven-version: '{mvn33}'
217 - jacoco-nojava-workaround
220 - email-notification:
221 email-prefix: '[netvirt]'
223 fileset: "**/target/surefire-reports/*.xml"
224 regexp: 'failures\=\"[^0]\"'
225 succeed-if-found: false
226 unstable-if-found: true
227 also-check-console-output: false
228 - opendaylight-infra-shiplogs:
229 maven-version: '{mvn33}'