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>
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
- findbugs
publishers:
+ - sonar:
+ language: 'java'
- email-notification:
email-prefix: '[honeycomb]'
- maven-deploy:
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
- findbugs
publishers:
+ - sonar:
+ language: 'java'
- email-notification:
email-prefix: '[honeycomb]'
- maven-deploy: