Revert "[Build] Fix usage of --scan parameter with test retry"
It looks like tests retry doesn't work sometimes.
This reverts commit ecd06ac47b.
KTI-1346 KTI-1339
This commit is contained in:
committed by
Space Team
parent
695f6f0062
commit
df55283148
@@ -13,13 +13,11 @@ fun Project.configureTestRetriesForTestTasks() {
|
|||||||
?.toString()?.toInt()
|
?.toString()?.toInt()
|
||||||
?: (if (kotlinBuildProperties.isTeamcityBuild) 3 else 0)
|
?: (if (kotlinBuildProperties.isTeamcityBuild) 3 else 0)
|
||||||
|
|
||||||
pluginManager.withPlugin("gradle-enterprise") {
|
tasks.withType<Test>().configureEach {
|
||||||
tasks.withType<Test>().configureEach {
|
retry {
|
||||||
retry {
|
maxRetries.set(testRetryMaxRetries)
|
||||||
maxRetries.set(testRetryMaxRetries)
|
maxFailures.set(20)
|
||||||
maxFailures.set(20)
|
failOnPassedAfterRetry.set(false)
|
||||||
failOnPassedAfterRetry.set(false)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user