comparison metrics.gradle @ 236:33c98751eb08

DEP-13: temporarily disable sonar
author smith@nwoca.org
date Thu, 20 Oct 2016 00:01:28 +0100
parents 5969e8210e0b
children 66a99ce5f60a
comparison
equal deleted inserted replaced
235:5969e8210e0b 236:33c98751eb08
25 } 25 }
26 26
27 27
28 if (newSonar) { 28 if (newSonar) {
29 29
30 apply plugin: org.sonarqube.gradle.SonarQubePlugin 30 task('sonar') << {
31 println "sonar disabled"
32 }
33
34 // apply plugin: org.sonarqube.gradle.SonarQubePlugin
31 35
32 sonarqube { 36 // sonarqube {
33 properties { 37 // properties {
34 property "sonar.host.url", "http://sonar.ssdt.io:9000" 38 // property "sonar.host.url", "http://sonar.ssdt.io:9000"
35 property "sonar.login", System.getenv('bamboo_SONAR_TOKEN') 39 // property "sonar.login", System.getenv('bamboo_SONAR_TOKEN')
36 property "sonar.exclusions","**/ProjectVersion*" 40 // property "sonar.exclusions","**/ProjectVersion*"
37 } 41 // }
38 } 42 // }
39 43
40 } 44 }
41 45
42 if (legacySonar) { 46 if (legacySonar) {
43 47
44 apply plugin: "sonar-runner" 48 apply plugin: "sonar-runner"