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

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


The following commit(s) were added to refs/heads/master by this push:
     new 378e16a  Allow to configure xml vs html reports via system property 
CI=true/false
378e16a is described below

commit 378e16a1970465ea1cd6195ee0ae969d35ec2c8d
Author: Vladimir Sitnikov <[email protected]>
AuthorDate: Fri Aug 2 19:05:04 2019 +0300

    Allow to configure xml vs html reports via system property CI=true/false
---
 build.gradle.kts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/build.gradle.kts b/build.gradle.kts
index b15708d..ba4b806 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -74,7 +74,7 @@ val displayVersion by extra {
 
 println("Building JMeter $version")
 
-fun reportsForHumans() = !(System.getenv()["CI"]?.toBoolean() ?: false)
+fun reportsForHumans() = !(System.getenv()["CI"]?.toBoolean() ?: 
boolProp("CI") ?: false)
 
 val lastEditYear by extra {
     file("$rootDir/NOTICE")

Reply via email to