You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by pa...@apache.org on 2015/10/22 19:50:31 UTC

incubator-groovy git commit: some slaves on https://builds.apache.org have hudson in their path, therefore add hudson to isRunningOnCI condition

Repository: incubator-groovy
Updated Branches:
  refs/heads/master ce537f7ad -> 7525804cc


some slaves on https://builds.apache.org have hudson in their path, therefore add hudson to isRunningOnCI condition


Project: http://git-wip-us.apache.org/repos/asf/incubator-groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-groovy/commit/7525804c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-groovy/tree/7525804c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-groovy/diff/7525804c

Branch: refs/heads/master
Commit: 7525804cc853459163452dbc589f4909fb1581d8
Parents: ce537f7
Author: pascalschumacher <pa...@gmx.net>
Authored: Thu Oct 22 19:50:16 2015 +0200
Committer: pascalschumacher <pa...@gmx.net>
Committed: Thu Oct 22 19:50:16 2015 +0200

----------------------------------------------------------------------
 gradle/test.gradle | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/7525804c/gradle/test.gradle
----------------------------------------------------------------------
diff --git a/gradle/test.gradle b/gradle/test.gradle
index 3c80f24..6267450 100644
--- a/gradle/test.gradle
+++ b/gradle/test.gradle
@@ -73,7 +73,7 @@ test {
 }
 
 boolean isRunningOnCI() {
-    new File('.').absolutePath.contains('teamcity') || new File('.').absolutePath.contains('jenkins')
+    new File('.').absolutePath =~ /teamcity|jenkins|hudson/
 }
 
 logger.lifecycle "Detected ${isRunningOnCI() ? 'Continuous Integration environment' : 'development environment'}"