Use System.getProperty(name, defaultValue) to get the 'jenkin's JVM System property value to configure the test task.
This commit is contained in:
@@ -39,5 +39,5 @@ dependencies {
|
||||
}
|
||||
|
||||
test {
|
||||
systemProperties['jenkins'] = "$jenkins"
|
||||
systemProperties['jenkins'] = System.getProperty('jenkins', 'false')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user