You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/reference/modules/ROOT/pages/configuration-reference.adoc
+31Lines changed: 31 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -496,6 +496,37 @@ Configure job retention periods to control how long job data is kept. Job retent
496
496
497
497
For more information on cache retention, see the xref:guides:optimize:persist-data.adoc#custom-storage-usage[Persisting data overview] page.
498
498
499
+
[#retention-errors]
500
+
==== Common errors
501
+
502
+
When configuring job retention, you may encounter the following validation errors:
503
+
504
+
* **Invalid time format**: The retention period must use the format `^([1-9]|[12][0-9]|30)d$` (1-30 days with "d" suffix). For example, use `"7d"` instead of `"12h"` or `"1w"`.
505
+
506
+
* **Incorrect data type**: The `retention` key expects a map with `caches` as a string value, not a direct string.
0 commit comments