13 project-type: freestyle
14 node: centos7-docker-1c-4g
18 - opendaylight-infra-properties:
22 - opendaylight-infra-parameters:
23 os-cloud: '{os-cloud}'
26 refspec: 'refs/heads/{branch}'
27 artifacts: '{archive-artifacts}'
35 - opendaylight-infra-wrappers:
36 build-timeout: '{build-timeout}'
39 - timed: '{schedule-saturday}'
40 - gerrit-trigger-patch-sonar:
41 gerrit-server-name: '{gerrit-server-name}'
45 - shell: !include-raw-escape: setup-docker.sh
47 properties-file: env.properties
48 - shell: !include-raw-escape: include-setup-hwvtep-docker.sh
50 maven-version: 'mvn33'
53 clean install dependency:tree -V -B -Dsonar
54 -Dskip.karaf.featureTest=true -Dmaven.compile.fork=true
55 -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r
57 - '-Xmx1024m -XX:MaxPermSize=256m'
58 settings: 'ovsdb-settings'
60 global-settings: 'global-settings'
61 global-settings-type: cfp
63 properties-file: env.properties
65 maven-version: 'mvn33'
68 verify -V -B -Pintegrationtest -Dsonar
69 -Dskip.karaf.featureTest=true
70 -Dovsdb.controller.address=${{CONTROLLER_IP}}
71 Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r
73 - 'ovsdbserver.ipaddress=127.0.0.1'
74 - 'ovsdbserver.port=6641'
75 - 'ovsdb.userspace.enabled=yes'
76 settings: 'ovsdb-settings'
78 global-settings: 'global-settings'
79 global-settings-type: cfp
81 maven-version: 'mvn33'
82 # We should switch to the recommended configuration of sonar once
83 # JJB adds support for configurating the Sonar wrapper:
84 # http://docs.sonarqube.org/display/SCAN/Analyzing+with+SonarQube+Scanner+for+Jenkins
86 sonar:sonar -V -B -Djenkins -Dsonar
87 -Dsonar.host.url=https://sonar.opendaylight.org
88 -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r
89 settings: 'ovsdb-settings'
91 global-settings: 'global-settings'
92 global-settings-type: cfp
93 - shell: !include-raw-escape: cleanup-docker.sh
94 - jacoco-nojava-workaround
98 email-recipients: '{email-recipients}'
99 email-prefix: '[ovsdb]'