You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by pa...@apache.org on 2015/06/07 10:28:28 UTC
incubator-groovy git commit: remove 'ci.codehaus.org' check from
isRunningOnCI()
Repository: incubator-groovy
Updated Branches:
refs/heads/master 5097a05c6 -> fc94bd8e9
remove 'ci.codehaus.org' check from isRunningOnCI()
Project: http://git-wip-us.apache.org/repos/asf/incubator-groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-groovy/commit/fc94bd8e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-groovy/tree/fc94bd8e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-groovy/diff/fc94bd8e
Branch: refs/heads/master
Commit: fc94bd8e9fe5d3ce5cc97c0c49ea1e2743836bac
Parents: 5097a05
Author: pascalschumacher <pa...@gmx.net>
Authored: Sun Jun 7 10:28:14 2015 +0200
Committer: pascalschumacher <pa...@gmx.net>
Committed: Sun Jun 7 10:28:14 2015 +0200
----------------------------------------------------------------------
gradle/test.gradle | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/fc94bd8e/gradle/test.gradle
----------------------------------------------------------------------
diff --git a/gradle/test.gradle b/gradle/test.gradle
index de1339e..cb1c8af 100644
--- a/gradle/test.gradle
+++ b/gradle/test.gradle
@@ -73,8 +73,7 @@ test {
}
boolean isRunningOnCI() {
- def path = new File('.').absolutePath
- path.contains('ci.codehaus.org') || path.contains('teamcity')
+ new File('.').absolutePath.contains('teamcity')
}
logger.lifecycle "Detected ${isRunningOnCI() ? 'Continuous Integration environment' : 'development environment'}"