Use Teamcity tmpdir to cleanUp it between executions
This commit is contained in:
@@ -98,6 +98,9 @@ fun Project.projectTest(taskName: String = "test", body: Test.() -> Unit = {}):
|
||||
environment("PROJECT_BUILD_DIR", buildDir)
|
||||
systemProperty("jps.kotlin.home", rootProject.extra["distKotlinHomeDir"]!!)
|
||||
systemProperty("kotlin.ni", if (rootProject.hasProperty("newInferenceTests")) "true" else "false")
|
||||
System.getProperty("teamcity.build.tempDir")?.let {
|
||||
systemProperty("java.io.tmpdir", it)
|
||||
}
|
||||
body()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user