13 project-type: freestyle
14 node: centos7-docker-2c-4g
18 - opendaylight-infra-properties:
22 - opendaylight-infra-parameters:
25 refspec: 'refs/heads/{branch}'
26 artifacts: '{archive-artifacts}'
34 - opendaylight-infra-wrappers:
35 build-timeout: '{build-timeout}'
39 - gerrit-trigger-patch-sonar:
40 server-name: '{server-name}'
44 - shell: !include-raw-escape: include-raw-setup-docker.sh
46 properties-file: env.properties
47 - shell: !include-raw-escape: include-setup-hwvtep-docker.sh
49 maven-version: 'mvn33'
52 clean install dependency:tree -V -B -Dsonar
53 -Dskip.karaf.featureTest=true -Dmaven.compile.fork=true
54 -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r
56 - '-Xmx1024m -XX:MaxPermSize=256m'
57 settings: 'ovsdb-settings'
59 global-settings: 'odl-global-settings'
60 global-settings-type: cfp
62 properties-file: env.properties
64 maven-version: 'mvn33'
67 verify -V -B -Pintegrationtest -Dsonar
68 -Dskip.karaf.featureTest=true
69 -Dovsdb.controller.address=${{CONTROLLER_IP}}
70 Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r
72 - 'ovsdbserver.ipaddress=127.0.0.1'
73 - 'ovsdbserver.port=6641'
74 - 'ovsdb.userspace.enabled=yes'
75 settings: 'ovsdb-settings'
77 global-settings: 'odl-global-settings'
78 global-settings-type: cfp
80 maven-version: 'mvn33'
81 # We should switch to the recommended configuration of sonar once
82 # JJB adds support for configurating the Sonar wrapper:
83 # http://docs.sonarqube.org/display/SCAN/Analyzing+with+SonarQube+Scanner+for+Jenkins
85 sonar:sonar -V -B -Djenkins -Dsonar
86 -Dsonar.host.url=https://sonar.opendaylight.org
87 -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r
88 settings: 'ovsdb-settings'
90 global-settings: 'odl-global-settings'
91 global-settings-type: cfp
92 - shell: !include-raw-escape: include-raw-cleanup-docker.sh
93 - jacoco-nojava-workaround
97 email-recipients: '{email-recipients}'
98 email-prefix: '[ovsdb]'
100 - opendaylight-infra-shiplogs:
101 maven-version: 'mvn33'