diff options
author | Tibor Frank <tifrank@cisco.com> | 2016-05-30 11:08:38 +0200 |
---|---|---|
committer | Tibor Frank <tifrank@cisco.com> | 2016-06-01 16:15:52 +0200 |
commit | 58dd17a87744a0df6ecfda2eddd0ae16a2963af3 (patch) | |
tree | 130b0931e0cda6fadc99d6cb944dfc452fe3202d /jjb/honeycomb | |
parent | 722c37f3fa681847275d6eb1fdb82aa9c4ff48e4 (diff) |
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 <tifrank@cisco.com>
Diffstat (limited to 'jjb/honeycomb')
-rw-r--r-- | jjb/honeycomb/honeycomb.yaml | 8 |
1 files changed, 6 insertions, 2 deletions
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: |