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/21 19:09:35 UTC
incubator-groovy git commit: fix isRunningOnCI condition
Repository: incubator-groovy
Updated Branches:
refs/heads/master 166e6257b -> 4a9b5627c
fix 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/4a9b5627
Tree: http://git-wip-us.apache.org/repos/asf/incubator-groovy/tree/4a9b5627
Diff: http://git-wip-us.apache.org/repos/asf/incubator-groovy/diff/4a9b5627
Branch: refs/heads/master
Commit: 4a9b5627cc0bcfc8b597981b53e46e04b0fc1805
Parents: 166e625
Author: pascalschumacher <pa...@gmx.net>
Authored: Wed Oct 21 19:09:19 2015 +0200
Committer: pascalschumacher <pa...@gmx.net>
Committed: Wed Oct 21 19:09:19 2015 +0200
----------------------------------------------------------------------
gradle/test.gradle | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/4a9b5627/gradle/test.gradle
----------------------------------------------------------------------
diff --git a/gradle/test.gradle b/gradle/test.gradle
index 093ee18..3c80f24 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.contains('teamcity') || new File('.').absolutePath.contains('jenkins')
}
logger.lifecycle "Detected ${isRunningOnCI() ? 'Continuous Integration environment' : 'development environment'}"