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
29 artifactDaysToKeep: '1'
30 artifactNumToKeep: '1'
33 - opendaylight-infra-parameters:
36 refspec: 'refs/heads/{branch}'
37 artifacts: '{archive-artifacts}'
45 - opendaylight-infra-wrappers:
46 build-timeout: '{build-timeout}'
50 - gerrit-trigger-patch-sonar:
56 - include-setup-misc.sh
58 properties-file: env.properties
59 - install-docker-composeSonar
61 maven-version: '{mvn33}'
63 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'
65 - '-Xmx1024m -XX:MaxPermSize=256m'
66 settings: 'netvirt-settings'
68 global-settings: 'odl-global-settings'
69 global-settings-type: cfp
71 properties-file: env.properties
73 maven-version: '{mvn33}'
74 pom: 'vpnservice/it/pom.xml'
75 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'
77 - 'maven.repo.local=/tmp/r'
78 - 'org.ops4j.pax.url.mvn.localRepository=/tmp/r'
79 settings: 'netvirt-settings'
81 global-settings: 'odl-global-settings'
82 global-settings-type: cfp
84 maven-version: '{mvn33}'
85 pom: 'openstack/net-virt-it/pom.xml'
86 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'
88 - 'maven.repo.local=/tmp/r'
89 - 'org.ops4j.pax.url.mvn.localRepository=/tmp/r'
90 settings: 'netvirt-settings'
92 global-settings: 'odl-global-settings'
93 global-settings-type: cfp
96 - include-raw-setup-docker.sh
98 properties-file: env.properties
100 maven-version: '{mvn33}'
101 pom: 'openstack/net-virt-sfc/it/pom.xml'
102 goals: 'verify -V -B -l openstack/net-virt-sfc-sonar.log -Pintegrationtest -Dsonar -Dskip.karaf.featureTest=true -Dovsdb.controller.address=${{CONTROLLER_IP}} -Dsgm=transparent'
104 - 'maven.repo.local=/tmp/r'
105 - 'org.ops4j.pax.url.mvn.localRepository=/tmp/r'
106 - 'ovsdbserver.ipaddress=127.0.0.1'
107 - 'ovsdbserver.port=6641'
108 - 'ovsdb.userspace.enabled=yes'
109 settings: 'netvirt-settings'
111 global-settings: 'odl-global-settings'
112 global-settings-type: cfp
114 maven-version: '{mvn33}'
115 # We should switch to the recommended configuration of sonar once
116 # JJB adds support for configurating the Sonar wrapper:
117 # http://docs.sonarqube.org/display/SCAN/Analyzing+with+SonarQube+Scanner+for+Jenkins
118 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'
119 settings: 'netvirt-settings'
121 global-settings: 'odl-global-settings'
122 global-settings-type: cfp
125 - include-raw-cleanup-docker.sh
126 - jacoco-nojava-workaround
129 - email-notification:
130 email-prefix: '[netvirt]'
133 - opendaylight-infra-shiplogs:
134 maven-version: '{mvn33}'