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}"
41 server-name: "{gerrit-server-name}"
43 - comment-added-contains-event:
44 comment-contains-value: "run-sonar$"
46 - project-compare-type: "ANT"
47 project-pattern: "{project}"
49 - branch-compare-type: "ANT"
50 branch-pattern: "**/master"
58 - shell: !include-raw-escape: setup-docker.sh
60 properties-file: env.properties
61 - shell: !include-raw-escape: include-setup-hwvtep-docker.sh
63 maven-version: "mvn35"
66 clean install dependency:tree -V -B -Dsonar
67 -Dskip.karaf.featureTest=true -Dmaven.compile.fork=true
68 -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r
71 settings: "ovsdb-settings"
73 global-settings: "global-settings"
74 global-settings-type: cfp
76 properties-file: env.properties
78 maven-version: "mvn35"
81 verify -V -B -Pintegrationtest -Dsonar
82 -Dskip.karaf.featureTest=true
83 -Dovsdb.controller.address=${{CONTROLLER_IP}}
84 -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r
86 - "ovsdbserver.ipaddress=127.0.0.1"
87 - "ovsdbserver.port=6641"
88 - "ovsdb.userspace.enabled=yes"
89 settings: "ovsdb-settings"
91 global-settings: "global-settings"
92 global-settings-type: cfp
94 maven-version: "mvn35"
95 # We should switch to the recommended configuration of sonar once
96 # JJB adds support for configurating the Sonar wrapper:
97 # http://docs.sonarqube.org/display/SCAN/Analyzing+with+SonarQube+Scanner+for+Jenkins
99 sonar:sonar -V -B -Djenkins -Dsonar
100 -Dsonar.host.url=https://sonar.opendaylight.org
101 -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r
102 settings: "ovsdb-settings"
104 global-settings: "global-settings"
105 global-settings-type: cfp
106 - shell: !include-raw-escape: cleanup-docker.sh
107 - lf-jacoco-nojava-workaround
110 - email-notification:
111 email-recipients: "{email-recipients}"
112 email-prefix: "[ovsdb]"