Rotate published artifacts archives
Originally created by @bertagaz on #6195 (Redmine)
We have limited disk space, and want to still build quite a lot of branches with our Jenkins instance.
To manage both, we have to ensure to keep only the necessary build artifacts of a branch, and no more.
The easiest way would be to add a build step to our jenkins Build_Tails_Iso_* jobs that would take care to keep only :
* Last 5 builds of the current day
* Last build of yesterday
* Last build of past week
* Last build of past month
That way we’ll keep <= 8 builds for each branch.
This at least is a first try to get something sustainable in term of disk space, and it might evolve in the future.
Parent Task: #5653 (closed)
Subtasks
Edited by bertagaz