Re: Clean useless files and directories

2019-10-03 Thread ZillaYT
You mean multi-branch "pipeline" jobs? In the job config page, Orphaned 
Strategy section, you check the "Discard old items" check box.

On Monday, September 30, 2019 at 11:18:13 AM UTC-4, Peter Flanagan wrote:
>
> Hello,
> working on Jenkins 2.150 hosted on on AWS-EC2, jenkins_home dir is located 
> on an EFS
>
> The space of some Jenkins instances increase dramatically due to folder 
> not removed automatically by internal Jenkins storage management.
>
> Using multi-branch jobs I got 2 major issues:
> - some branches directories stay on file system despite the branches does 
> not exist anymore on GUI
> - some workspace__* directories stay also on FS despite the build 
> workspace always linked to the last waorkspace (without __ suffix)
>
> I'm wondering how to clean these two useless (according to me) directories 
> properly.
>
> Thanks very much for your help  
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/f822f0aa-f1bd-4701-a696-9680cce90798%40googlegroups.com.


Clean useless files and directories

2019-09-30 Thread Peter Flanagan
Hello,
working on Jenkins 2.150 hosted on on AWS-EC2, jenkins_home dir is located 
on an EFS

The space of some Jenkins instances increase dramatically due to folder not 
removed automatically by internal Jenkins storage management.

Using multi-branch jobs I got 2 major issues:
- some branches directories stay on file system despite the branches does 
not exist anymore on GUI
- some workspace__* directories stay also on FS despite the build workspace 
always linked to the last waorkspace (without __ suffix)

I'm wondering how to clean these two useless (according to me) directories 
properly.

Thanks very much for your help  

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/883a238d-6242-4f14-a3b3-7f1a76081ac5%40googlegroups.com.