diff init.gradle @ 128:c93df17513f1

CM-133: add jacoco for standard coverage reports. Add sonar properties for SCM and bamboo plan
author smith@nwoca.org
date Tue, 04 Jun 2013 23:13:59 +0100
parents b2532280341e
children bef2bfc61f6e
line wrap: on
line diff
--- a/init.gradle	Tue Jun 04 16:51:29 2013 +0100
+++ b/init.gradle	Tue Jun 04 23:13:59 2013 +0100
@@ -14,6 +14,13 @@
 
 gradle.ext.bambooBuild = System.getenv().any { it.key.startsWith('BAMBOO')} || hostname?.startsWith('ssdt-')
 
+gradle.ext.bambooPlan = System.getenv('BAMBOO_PLAN') ?: 'UNKNOWN'
+
+gradle.ext.hgRepositoryUrl = ""
+try {
+   gradle.ext.hgRepositoryUrl = "hg path".execute().text.split('=')[1].trim()
+} catch (e) {}
+
 rootProject.ext.indyCapable = {
     boolean capable = true
     try {