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 - 'ovsdb.userspace.enabled=yes'
58 - 'maven.repo.local=/tmp/r'
59 - 'org.ops4j.pax.url.mvn.localRepository=/tmp/r'
62 - '-Xmx1024m -XX:MaxPermSize=256m'
63 settings: 'netvirt-settings'
65 global-settings: 'odl-global-settings'
66 global-settings-type: cfp
71 - netvirt-run-it-dockerOvs:
72 maven-version: '{maven-version}'
74 pomFile: 'openstack/net-virt-it/pom.xml'
75 logfile: '{OVS_VERSION}-net-virt-IT.log'
76 OVS_VERSION: '{OVS_VERSION}'
79 name: run-netvirt-sfc-it
81 - netvirt-run-it-external-docker:
82 maven-version: '{maven-version}'
84 pomFile: 'openstack/net-virt-sfc/it/pom.xml'
85 logfile: '{OVS_VERSION}-netvirt-sfc-IT.log'
88 name: run-netvirt-vpnservice-it
90 - netvirt-run-it-dockerOvs:
91 maven-version: '{maven-version}'
93 pomFile: 'vpnservice/it/pom.xml'
94 logfile: '{OVS_VERSION}-netvirt-vpnservice-IT.log'
95 OVS_VERSION: '{OVS_VERSION}'
98 name: install-docker-compose
101 virtualenv $WORKSPACE/venv
102 source $WORKSPACE/venv/bin/activate
103 pip install --upgrade pip
104 pip install docker-compose
111 properties-content: OVS_VERSION={OVS_VERSION}
114 - include-setup-controllerIp.sh
116 properties-file: env.properties
117 - install-docker-compose
118 - run-netvirt-vpnservice-it:
119 OVS_VERSION: '{OVS_VERSION}'
120 maven-version: '{maven-version}'
123 OVS_VERSION: '{OVS_VERSION}'
124 maven-version: '{maven-version}'
128 - include-raw-setup-docker.sh
130 properties-file: env.properties
131 - run-netvirt-sfc-it:
132 OVS_VERSION: '{OVS_VERSION}'
133 maven-version: '{maven-version}'
137 - include-raw-cleanup-docker.sh
140 name: 'netvirt-daily-full-integration-{stream}'
142 # Required Variables:
143 # stream: release stream (eg. stable-lithium or beryllium)
144 # branch: git branch (eg. stable/lithium or master)
146 project-type: freestyle
147 node: centos7-docker-2c-4g
149 description: 'Integration tests for the Netvirt project against different versions of OVS and branches. This job runs nightly. '
152 daysToKeep: '{build-days-to-keep}'
153 numToKeep: '{build-num-to-keep}'
154 artifactDaysToKeep: '{build-artifact-days-to-keep}'
155 artifactNumToKeep: '{build-artifact-num-to-keep}'
158 - opendaylight-infra-parameters:
161 refspec: 'refs/heads/{branch}'
162 artifacts: '{archive-artifacts}'
165 - gerrit-trigger-scm:
166 refspec: '$GERRIT_REFSPEC'
168 choosing-strategy: gerrit
171 - opendaylight-infra-wrappers:
172 build-timeout: '{build-timeout}'
177 server-name: 'OpenDaylight'
179 - comment-added-contains-event:
180 comment-contains-value: 'runit'
182 - project-compare-type: 'ANT'
183 project-pattern: '{project}'
185 - branch-compare-type: 'ANT'
186 branch-pattern: '**/{branch}'
194 - wipe-org-opendaylight-repo
196 maven-version: '{mvn33}'
198 goals: '-V -B -l build.log clean install dependency:tree -Pq -Dmaven.compile.fork=true'
200 - 'maven.repo.local=/tmp/r'
201 - 'org.ops4j.pax.url.mvn.localRepository=/tmp/r'
204 - '-Xmx1024m -XX:MaxPermSize=256m'
205 settings: 'netvirt-settings'
207 global-settings: 'odl-global-settings'
208 global-settings-type: cfp
209 # skip 2.4.0 until we figure out conntrack
211 # maven-version: '{mvn33}'
213 # OVS_VERSION: '2.4.0'
215 maven-version: '{mvn33}'
218 - jacoco-nojava-workaround
221 - email-notification:
222 email-prefix: '[netvirt]'
224 fileset: "**/target/surefire-reports/*.xml"
225 regexp: 'failures\=\"[^0]\"'
226 succeed-if-found: false
227 unstable-if-found: true
228 also-check-console-output: false
229 - opendaylight-infra-shiplogs:
230 maven-version: '{mvn33}'