Version 1.18.x
Artifacts Retention Policy by Date
It's now possible to specify a number of days after which reports are automatically deleted:
retention:
days: 3
By applying the above retention configuration, reports older than 3 days will be deleted. The retention
node applies to extent reports and others, such as summary and testbook, for instance:
extent:
retention:
days: 3
testBook:
reporters:
- html:
retention:
days: 2
- txt:
retention:
days: 10
Check the full docs to see all the details, such as how to combine days
retention with successful
and total
.