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/24 15:43:13 UTC
[03/18] incubator-groovy git commit: add Jenkins to isRunningOnCI
check
add Jenkins to isRunningOnCI check
Project: http://git-wip-us.apache.org/repos/asf/incubator-groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-groovy/commit/296f422c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-groovy/tree/296f422c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-groovy/diff/296f422c
Branch: refs/heads/GROOVY_2_4_X
Commit: 296f422c4941b8edb4682d3b16815b22d4a118f4
Parents: 95fa733
Author: pascalschumacher <pa...@gmx.net>
Authored: Wed Oct 21 19:04:18 2015 +0200
Committer: pascalschumacher <pa...@gmx.net>
Committed: Sat Oct 24 15:39:15 2015 +0200
----------------------------------------------------------------------
gradle/test.gradle | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/296f422c/gradle/test.gradle
----------------------------------------------------------------------
diff --git a/gradle/test.gradle b/gradle/test.gradle
index 75d5ced..34c076b 100644
--- a/gradle/test.gradle
+++ b/gradle/test.gradle
@@ -72,7 +72,7 @@ test {
}
boolean isRunningOnCI() {
- new File('.').absolutePath.contains('teamcity')
+ new File('.').absolutePath.contains('teamcity') && new File('.').absolutePath.contains('jenkins')
}
logger.lifecycle "Detected ${isRunningOnCI() ? 'Continuous Integration environment' : 'development environment'}"