Document that SystemTestPlugin output should never be cached
See gh-33411
This commit is contained in:
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…
Reference in New Issue