Document that SystemTestPlugin output should never be cached

See gh-33411
pull/33648/head
Jerome Prinet 2 years ago committed by Phillip Webb
parent e755f5107e
commit 72a9f494f3

@ -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);
}
}

Loading…
Cancel
Save