github? polling or webhooks? The "scan respotory log" doesn't show anything recent (but new branches are still being built) - does yours show anything different?
This seems a recent thing (well a change in last few months) or else we would have > 4 month old dead branches. On Wednesday, 21 June 2017 12:57:29 UTC+10, Mark Waite wrote: > > Correct. I have some test jobs which intentionally create and destroy > branches as part of their testing, and those branches correctly disappear > shortly after the branch deletion is detected. > > On Tue, Jun 20, 2017 at 8:34 PM Michael Neale <[email protected] > <javascript:>> wrote: > >> and obviously you aren't seeing deleted branches still show up without >> being cleaned up? >> >> >> On Wednesday, June 21, 2017 at 12:23:59 PM UTC+10, Mark Waite wrote: >> >>> Yes, that's how mine is configured. >>> >>> On Tue, Jun 20, 2017 at 8:21 PM Michael Neale <[email protected]> >>> wrote: >>> >> Yes I suspected that - it is the default that you get when you create a >>>> new project (see below screen shot). Is this is what yours is? >>>> >>>> This multibranch project has been around for a while - and it only >>>> recently started showing this behavior (recently as 4 months) so I suspect >>>> something changed in a plugin version... >>>> >>>> >>>> <https://lh3.googleusercontent.com/-2TV_2ca6FrQ/WUnYAq9PBuI/AAAAAAAAB4I/jSbYhOtoxSo-lu1E_ypc_l7CqYIH7Aq6QCLcBGAs/s1600/Screen%2BShot%2B2017-06-21%2Bat%2B12.20.13%2Bpm.png> >>>> >>>> >>>> >>>> >>>> >>>> >>>> On Wednesday, June 21, 2017 at 12:13:19 PM UTC+10, Mark Waite wrote: >>>> >>>>> There is a configuration setting, "Orphaned Item Strategy", in the >>>>> multi-branch pipeline job definition and in the GitHub Organization >>>>> Folders >>>>> definition which sets a retention period for jobs associated with deleted >>>>> branches. Mine is set to Discard old items, with a retention period of 0 >>>>> days. >>>>> >>>>> Is theirs enabled? >>>>> >>>>> Does it have the retention period they want? >>>>> >>>>> Mark Waite >>>>> >>>>> On Tue, Jun 20, 2017 at 7:59 PM Michael Neale <[email protected]> >>>>> wrote: >>>>> >>>> Using multibranch and git/github, I am seeing projects that are created >>>>>> for a branch be apparently marked for deletion, but never removed. >>>>>> >>>>>> There is one that hasn't been around for 4 months and shows up like >>>>>> this: >>>>>> >>>>>> >>>>>> <https://lh3.googleusercontent.com/-HOydyACN1J8/WUnQoa4IVCI/AAAAAAAAB34/bc8Ktgn7ABEC1VI-GFGkvTAXZNPV3Y5yQCLcBGAs/s1600/Screen%2BShot%2B2017-06-21%2Bat%2B11.44.50%2Bam.png> >>>>>> >>>>>> >>>>>> Is there something wrong with my config that makes it retain this in >>>>>> this fashion? Shouldn't it be deleted? >>>>>> >>>>>> >>>>>> https://stackoverflow.com/questions/44419841/jenkins-multi-branch-pipeline-not-pruning-branches-deleted-from-remote >>>>>> >>>>>> -- >>>>>> 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 [email protected]. >>>>> >>>>> >>>>>> To view this discussion on the web visit >>>>>> https://groups.google.com/d/msgid/jenkinsci-users/094aab14-3cc4-43a9-92d0-c5ca1b796ea6%40googlegroups.com >>>>>> >>>>>> <https://groups.google.com/d/msgid/jenkinsci-users/094aab14-3cc4-43a9-92d0-c5ca1b796ea6%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>>> . >>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>> >>>>> -- >>>> 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 [email protected]. >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/jenkinsci-users/e885e143-f109-4937-97c3-bda7f51faedc%40googlegroups.com >>>> >>>> <https://groups.google.com/d/msgid/jenkinsci-users/e885e143-f109-4937-97c3-bda7f51faedc%40googlegroups.com?utm_medium=email&utm_source=footer> >>>> . >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> -- >> 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 [email protected] <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/jenkinsci-users/45b529a1-edd0-43ae-82bb-f4c57a7e89c4%40googlegroups.com >> >> <https://groups.google.com/d/msgid/jenkinsci-users/45b529a1-edd0-43ae-82bb-f4c57a7e89c4%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/2b4c91a8-1819-431a-84a3-3e21566d92f7%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
