8 archive-artifacts: '*.log'
11 name: install-docker-composeSonar
14 virtualenv $WORKSPACE/venv
15 source $WORKSPACE/venv/bin/activate
16 pip install --upgrade pip
17 pip install docker-compose
22 project-type: freestyle
23 node: centos7-docker-2c-4g
27 - opendaylight-infra-properties:
31 - opendaylight-infra-parameters:
34 refspec: 'refs/heads/{branch}'
35 artifacts: '{archive-artifacts}'
43 - opendaylight-infra-wrappers:
44 build-timeout: '{build-timeout}'
48 - gerrit-trigger-patch-sonar:
49 server-name: '{server-name}'
55 - include-setup-misc.sh
57 properties-file: env.properties
58 - install-docker-composeSonar
60 maven-version: 'mvn33'
62 goals: 'clean install dependency:tree -V -B -Dsonar -Dskip.karaf.featureTest=true -Dmaven.compile.fork=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
64 - '-Xmx1024m -XX:MaxPermSize=256m'
65 settings: 'netvirt-settings'
67 global-settings: 'odl-global-settings'
68 global-settings-type: cfp
70 properties-file: env.properties
72 maven-version: 'mvn33'
73 pom: 'vpnservice/it/pom.xml'
74 goals: 'verify -V -B -l netvirt-vpnservice-sonar.log -Pintegrationtest -Dsonar -Dskip.karaf.featureTest=true -Dovsdb.controller.address=${{CONTROLLER_IP}} -Ddocker.compose.file=ovs-2.5.0-hwvtep.yml -Ddocker.vEnvWs=$WORKSPACE -Dsgm=transparent'
76 - 'maven.repo.local=/tmp/r'
77 - 'org.ops4j.pax.url.mvn.localRepository=/tmp/r'
78 settings: 'netvirt-settings'
80 global-settings: 'odl-global-settings'
81 global-settings-type: cfp
83 maven-version: 'mvn33'
84 pom: 'openstack/net-virt-it/pom.xml'
85 goals: 'verify -V -B -l net-virt-sonar.log -Pintegrationtest -Dsonar -Dskip.karaf.featureTest=true -Dovsdb.controller.address=${{CONTROLLER_IP}} -Ddocker.compose.file=ovs-2.5.0-hwvtep.yml -Ddocker.vEnvWs=$WORKSPACE -Dsgm=transparent'
87 - 'maven.repo.local=/tmp/r'
88 - 'org.ops4j.pax.url.mvn.localRepository=/tmp/r'
89 settings: 'netvirt-settings'
91 global-settings: 'odl-global-settings'
92 global-settings-type: cfp
95 - include-raw-setup-docker.sh
97 properties-file: env.properties
99 maven-version: 'mvn33'
100 pom: 'openstack/net-virt-sfc/it/pom.xml'
101 goals: 'verify -V -B -l openstack/net-virt-sfc-sonar.log -Pintegrationtest -Dsonar -Dskip.karaf.featureTest=true -Dovsdb.controller.address=${{CONTROLLER_IP}} -Dsgm=transparent'
103 - 'maven.repo.local=/tmp/r'
104 - 'org.ops4j.pax.url.mvn.localRepository=/tmp/r'
105 - 'ovsdbserver.ipaddress=127.0.0.1'
106 - 'ovsdbserver.port=6641'
107 - 'ovsdb.userspace.enabled=yes'
108 settings: 'netvirt-settings'
110 global-settings: 'odl-global-settings'
111 global-settings-type: cfp
113 maven-version: 'mvn33'
114 # We should switch to the recommended configuration of sonar once
115 # JJB adds support for configurating the Sonar wrapper:
116 # http://docs.sonarqube.org/display/SCAN/Analyzing+with+SonarQube+Scanner+for+Jenkins
117 goals: 'sonar:sonar -V -B -Djenkins -Dsonar -Dsonar.host.url=https://sonar.opendaylight.org -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
118 settings: 'netvirt-settings'
120 global-settings: 'odl-global-settings'
121 global-settings-type: cfp
124 - include-raw-cleanup-docker.sh
125 - jacoco-nojava-workaround
128 - email-notification:
129 email-recipients: '{email-recipients}'
130 email-prefix: '[netvirt]'
133 - opendaylight-infra-shiplogs:
134 maven-version: 'mvn33'