Document that SystemTestPlugin output should never be cached

See gh-33411
This commit is contained in:
Jerome Prinet 2022-11-29 16:40:43 +01:00 committed by Phillip Webb
parent e755f5107e
commit 72a9f494f3

View File

@ -84,6 +84,7 @@ public class SystemTestPlugin implements Plugin<Project> {
systemTest.shouldRunAfter(JavaPlugin.TEST_TASK_NAME);
if (isCi()) {
systemTest.getOutputs().upToDateWhen(NEVER);
systemTest.getOutputs().doNotCacheIf("System tests are always rerun on CI", (task) -> true);
}
}