Mercurial > public > develkit
comparison metrics.gradle @ 142:45d2396e9fc8
configure sonar to publish only for 'develop' builts.
author | Dave Smith <smith@nwoca.org> |
---|---|
date | Fri, 25 Oct 2013 19:53:31 +0100 |
parents | 51e4ee02d47a |
children | 0ca4f3c952b7 |
comparison
equal
deleted
inserted
replaced
141:d3c09b4e3332 | 142:45d2396e9fc8 |
---|---|
145 } | 145 } |
146 property "sonar.build-stability.url", "http://bamboo.ssdt-ohio.org/browse/${gradle.bambooPlan}" | 146 property "sonar.build-stability.url", "http://bamboo.ssdt-ohio.org/browse/${gradle.bambooPlan}" |
147 property "sonar.scm.url", "scm:hg:${gradle.hgRepositoryUrl}" | 147 property "sonar.scm.url", "scm:hg:${gradle.hgRepositoryUrl}" |
148 } | 148 } |
149 } | 149 } |
150 | |
150 } | 151 } |
151 } | 152 } |
153 | |
154 | |
155 | |
156 allprojects { | |
157 afterEvaluate { project -> | |
158 project.getTasksByName('sonarRunner',false).each { it.enabled = gradle.branchStream == 'develop' } | |
159 } | |
160 } |