mirror of https://github.com/apache/lucene.git
LUCENE-9474: Easier Jenkins automation, by allowing to pass test JVM args as environment variable (this goes inline with RUNTIME_JAVA_HOME)
This commit is contained in:
parent
59736814b6
commit
79f3a1783f
|
@ -67,7 +67,7 @@ allprojects {
|
|||
minHeapSize = propertyOrDefault("tests.minheapsize", "256m")
|
||||
maxHeapSize = propertyOrDefault("tests.heapsize", "512m")
|
||||
|
||||
jvmArgs Commandline.translateCommandline(propertyOrDefault("tests.jvmargs", "-XX:TieredStopAtLevel=1"))
|
||||
jvmArgs Commandline.translateCommandline(propertyOrDefault("tests.jvmargs", System.getenv('TEST_JVM_ARGS') ?: "-XX:TieredStopAtLevel=1"))
|
||||
|
||||
systemProperty 'java.util.logging.config.file', file("${commonDir}/tools/junit4/logging.properties")
|
||||
systemProperty 'java.awt.headless', 'true'
|
||||
|
|
Loading…
Reference in New Issue