Merge pull request #33411 from jprinet

* pr/33411:
  Document that SystemTestPlugin output should never be cached

Closes gh-33411
This commit is contained in:
Phillip Webb 2022-11-29 10:59:59 -08:00
commit 14d4211b6a
1 changed files with 1 additions and 0 deletions

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