stan-dev / stan

Stan development repository. The master branch contains the current release. The develop branch contains the latest stable development. See the Developer Process Wiki for details.
https://mc-stan.org
BSD 3-Clause "New" or "Revised" License
2.6k stars 370 forks source link

jenkins: cleanup old build logs #3236

Closed dylex closed 1 year ago

dylex commented 1 year ago

Add jenkins configuration to remove old build logs and artifacts after some time to avoid running out of disk space. Feel free to tweak the specific numbers, as long as we don't keep them forever.

bob-carpenter commented 1 year ago

Thanks, Dylan. I don't think we even need these for 30 days if you need to recover more space. I'll approve and this can be merged when tests pass.

dylex commented 1 year ago

Thanks. It was mainly Math that was a problem (had almost 500G of logs), for which I've added this already. Others are much smaller, but it would be good to propagate it into all the other packages eventually.