-
Bug
-
Resolution: Unresolved
-
Major
-
None
I tested setting the Orphaned Item Strategy for several multi-branch projects, but none of them worked.
For example, I set numsToKeep = 2, but there will still be many branches (unless the branch is deleted in SCM)
scm type contains github/svn/git
some logs
Recording BranchIndexing[project-MQJ61w4Nv5mv/test-b-git-count] @java.util.GregorianCalendar[time=0,areFieldsSet=true,areAllFieldsSet=true,lenient=true,zone=sun.util.calendar.ZoneInfo[id="Etc/UTC",offset=0,dstSavings=0,useDaylight=false,transitions=0,lastRule=null],firstDayOfWeek=1,minimalDaysInFirstWeek=1,ERA=1,YEAR=1970,MONTH=0,WEEK_OF_YEAR=1,WEEK_OF_MONTH=1,DAY_OF_MONTH=1,DAY_OF_YEAR=1,DAY_OF_WEEK=5,DAY_OF_WEEK_IN_MONTH=1,AM_PM=0,HOUR=0,HOUR_OF_DAY=0,MINUTE=0,SECOND=0,MILLISECOND=0,ZONE_OFFSET=0,DST_OFFSET=0] Jan 17, 2020 8:36:00 AM FINE com.cloudbees.hudson.plugins.folder.computed.ComputedFolder updateChildrenupdating project-MQJ61w4Nv5mv/test-b-git-count Jan 17, 2020 8:36:04 AM FINE com.cloudbees.hudson.plugins.folder.computed.ComputedFolder$FullReindexChildObserver shouldUpdateproject-MQJ61w4Nv5mv/test-b-git-count: existing runzexia-patch-2: org.jenkinsci.plugins.workflow.job.WorkflowJob@61da0066[project-MQJ61w4Nv5mv/test-b-git-count/runzexia-patch-2] Jan 17, 2020 8:36:04 AM FINE com.cloudbees.hudson.plugins.folder.computed.ComputedFolder$FullReindexChildObserver shouldUpdateproject-MQJ61w4Nv5mv/test-b-git-count: existing master: org.jenkinsci.plugins.workflow.job.WorkflowJob@16e3c7b0[project-MQJ61w4Nv5mv/test-b-git-count/master] Jan 17, 2020 8:36:04 AM FINE com.cloudbees.hudson.plugins.folder.computed.ComputedFolder$FullReindexChildObserver shouldUpdateproject-MQJ61w4Nv5mv/test-b-git-count: existing dev-01: org.jenkinsci.plugins.workflow.job.WorkflowJob@25fb50f6[project-MQJ61w4Nv5mv/test-b-git-count/dev-01] Jan 17, 2020 8:36:04 AM FINE com.cloudbees.hudson.plugins.folder.computed.ComputedFolder$FullReindexChildObserver shouldUpdateproject-MQJ61w4Nv5mv/test-b-git-count: existing dev-02: org.jenkinsci.plugins.workflow.job.WorkflowJob@234f5561[project-MQJ61w4Nv5mv/test-b-git-count/dev-02] Jan 17, 2020 8:36:04 AM FINE com.cloudbees.hudson.plugins.folder.computed.ComputedFolder$FullReindexChildObserver shouldUpdateproject-MQJ61w4Nv5mv/test-b-git-count: existing dev-03: org.jenkinsci.plugins.workflow.job.WorkflowJob@4c29c088[project-MQJ61w4Nv5mv/test-b-git-count/dev-03] Jan 17, 2020 8:36:04 AM FINE com.cloudbees.hudson.plugins.folder.computed.ComputedFolder$FullReindexChildObserver shouldUpdateproject-MQJ61w4Nv5mv/test-b-git-count: existing dev-04: org.jenkinsci.plugins.workflow.job.WorkflowJob@d45011a[project-MQJ61w4Nv5mv/test-b-git-count/dev-04] Jan 17, 2020 8:36:04 AM FINE com.cloudbees.hudson.plugins.folder.computed.ComputedFolder updateChildrenproject-MQJ61w4Nv5mv/test-b-git-count: orphaned [runzexia-patch-1]