Re: Increasing Discard Old Builds strategy in CI

2022-04-28 Thread Cesar Hernandez
Hello, I found the post-action "Delete Workspace when build is done", I updated https://ci-builds.apache.org/job/TomEE/job/master-pull-request/ to check if this can reduce the job size. If this doesn't work I'll rollback the change and keep you updated. [image: image.png] El mar, 26 abr 2022 a l

Re: Increasing Discard Old Builds strategy in CI

2022-04-26 Thread Cesar Hernandez
I forgot that /home/jenkins/.m2 is in the Agent and what is actually analyzed for the test results are the surefire files as Richard mentioned: /home/jenkins/jenkins-agent/workspace/Tomee/master-pull-request/ I'm +1 on trying a mvn clean as a post step to see if that reduces the size of the job

Re: Increasing Discard Old Builds strategy in CI

2022-04-26 Thread Cesar Hernandez
In the job, after the test results are executed we can add a post-build doing a: rm -rf /home/jenkins/.m2/ El mar, 26 abr 2022 a las 12:51, Zowalla, Richard (< richard.zowa...@hs-heilbronn.de>) escribió: > Afaik Jenkins is parsing the surefire report files. The log files might > also be import

Re: Increasing Discard Old Builds strategy in CI

2022-04-26 Thread Zowalla, Richard
Afaik Jenkins is parsing the surefire report files. The log files might also be important for the creator of the PR, so we would need to keep them too. Might be worth a try, I guess. Gruß Richard Am Dienstag, dem 26.04.2022 um 11:15 -0700 schrieb David Blevins: > > On Apr 26, 2022, at 10:47 AM,

Re: Increasing Discard Old Builds strategy in CI

2022-04-26 Thread David Blevins
> On Apr 26, 2022, at 10:47 AM, Zowalla, Richard > wrote: > > However, we need to carefully monitor the disk usage / volume used as > INFRA has a problem if our used storage volume per jobs exceeds a > certain quota. > > We occupied 1,5T last week (cumulated over a few weeks) and they were a >

Re: Increasing Discard Old Builds strategy in CI

2022-04-26 Thread Cesar Hernandez
Thank you for the context Richard, My proposal is for master PR's only since I think this is where most of the activity is going on at the moment. We occupied 1,5T last week In that case, I think a more conservative proposal would be: Days to keep builds: 8 Max # of builds to keep: 15 El ma

Re: Increasing Discard Old Builds strategy in CI

2022-04-26 Thread Zowalla, Richard
Hi Cesar, I have no problem with increasing the values for the discard strategy. It makes sense to keep it a bit longer for PRs. However, we need to carefully monitor the disk usage / volume used as INFRA has a problem if our used storage volume per jobs exceeds a certain quota. We occupied 1,5

Increasing Discard Old Builds strategy in CI

2022-04-26 Thread Cesar Hernandez
Hello, Our current Discard old builds Strategy in CI for PR's for the master branch is [1]: Days to keep builds: 2 Max # of builds to keep: 3 Is there any objection if I update this to at least: Days to keep builds: 15 Max # of builds to keep: 30 Currently, if one opens a PR on a Friday and tri