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:
51 server-name: '{server-name}'
57 - include-setup-misc.sh
59 properties-file: env.properties
60 - install-docker-composeSonar
62 maven-version: 'mvn33'
64 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'
66 - '-Xmx1024m -XX:MaxPermSize=256m'
67 settings: 'netvirt-settings'
69 global-settings: 'odl-global-settings'
70 global-settings-type: cfp
72 properties-file: env.properties
74 maven-version: 'mvn33'
75 pom: 'vpnservice/it/pom.xml'
76 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'
78 - 'maven.repo.local=/tmp/r'
79 - 'org.ops4j.pax.url.mvn.localRepository=/tmp/r'
80 settings: 'netvirt-settings'
82 global-settings: 'odl-global-settings'
83 global-settings-type: cfp
85 maven-version: 'mvn33'
86 pom: 'openstack/net-virt-it/pom.xml'
87 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'
89 - 'maven.repo.local=/tmp/r'
90 - 'org.ops4j.pax.url.mvn.localRepository=/tmp/r'
91 settings: 'netvirt-settings'
93 global-settings: 'odl-global-settings'
94 global-settings-type: cfp
97 - include-raw-setup-docker.sh
99 properties-file: env.properties
101 maven-version: 'mvn33'
102 pom: 'openstack/net-virt-sfc/it/pom.xml'
103 goals: 'verify -V -B -l openstack/net-virt-sfc-sonar.log -Pintegrationtest -Dsonar -Dskip.karaf.featureTest=true -Dovsdb.controller.address=${{CONTROLLER_IP}} -Dsgm=transparent'
105 - 'maven.repo.local=/tmp/r'
106 - 'org.ops4j.pax.url.mvn.localRepository=/tmp/r'
107 - 'ovsdbserver.ipaddress=127.0.0.1'
108 - 'ovsdbserver.port=6641'
109 - 'ovsdb.userspace.enabled=yes'
110 settings: 'netvirt-settings'
112 global-settings: 'odl-global-settings'
113 global-settings-type: cfp
115 maven-version: 'mvn33'
116 # We should switch to the recommended configuration of sonar once
117 # JJB adds support for configurating the Sonar wrapper:
118 # http://docs.sonarqube.org/display/SCAN/Analyzing+with+SonarQube+Scanner+for+Jenkins
119 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'
120 settings: 'netvirt-settings'
122 global-settings: 'odl-global-settings'
123 global-settings-type: cfp
126 - include-raw-cleanup-docker.sh
127 - jacoco-nojava-workaround
130 - email-notification:
131 email-recipients: '{email-recipients}'
132 email-prefix: '[netvirt]'
135 - opendaylight-infra-shiplogs:
136 maven-version: 'mvn33'