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