This is an automated email from the ASF dual-hosted git repository.

blue pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iceberg.git


The following commit(s) were added to refs/heads/master by this push:
     new 6140599  CI: Print test name only in CI environments (#1212)
6140599 is described below

commit 614059975a3fb8b7b30adfee3c99e3e337da1328
Author: Shardul Mahadik <[email protected]>
AuthorDate: Thu Jul 16 16:27:21 2020 -0700

    CI: Print test name only in CI environments (#1212)
---
 build.gradle | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/build.gradle b/build.gradle
index 82933cf..d636414 100644
--- a/build.gradle
+++ b/build.gradle
@@ -117,7 +117,11 @@ subprojects {
 
   test {
     testLogging {
-      events "failed", "passed"
+      if ("true".equalsIgnoreCase(System.getenv('CI'))) {
+        events "failed", "passed"
+      } else {
+        events "failed"
+      }
       exceptionFormat "full"
     }
   }

Reply via email to