From: Tibor Frank Date: Mon, 30 May 2016 09:08:38 +0000 (+0200) Subject: Sonar analysis added to Honeycomb jobs X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F02%2F1302%2F6;p=ci-management.git Sonar analysis added to Honeycomb jobs The configuration is based on information from: http://docs.openstack.org/infra/jenkins-job-builder/builders.html and http://docs.sonarqube.org/display/SCAN/Analyzing+with+SonarQube+Scanner+for+Jenkins#AnalyzingwithSonarQubeScannerforJenkins-Job-levelConfiguration This setting should be tested on the actual infrastructure. Change-Id: I7416c84881d8cf36330f81318e178140dbce755b Signed-off-by: Tibor Frank --- diff --git a/jjb/honeycomb/honeycomb.yaml b/jjb/honeycomb/honeycomb.yaml index cfa9ae4f4..15b753d4c 100644 --- a/jjb/honeycomb/honeycomb.yaml +++ b/jjb/honeycomb/honeycomb.yaml @@ -182,7 +182,7 @@ maven: maven-name: '{mvn33}' root-pom: 'pom.xml' - goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dmerge -Dkaraf.keep.unpack=true' + goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dmerge -Dkaraf.keep.unpack=true -Dsonar' maven-opts: '-Xmx2048m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' settings: 'honeycomb-settings' settings-type: cfp @@ -197,6 +197,8 @@ - findbugs publishers: + - sonar: + language: 'java' - email-notification: email-prefix: '[honeycomb]' - maven-deploy: @@ -246,7 +248,7 @@ maven: maven-name: '{mvn33}' root-pom: 'pom.xml' - goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dmerge -Dkaraf.keep.unpack=true' + goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dmerge -Dkaraf.keep.unpack=true -Dsonar' maven-opts: '-Xmx2048m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' settings: 'honeycomb-settings' settings-type: cfp @@ -261,6 +263,8 @@ - findbugs publishers: + - sonar: + language: 'java' - email-notification: email-prefix: '[honeycomb]' - maven-deploy: