[JIRA] (JENKINS-60806) Orphaned Item Strategy not work in multibranch job

7 views
Skip to first unread message

root@junwuhui.cn (JIRA)

unread,
Jan 17, 2020, 3:36:07 AM1/17/20
to jenkinsc...@googlegroups.com
runze xia created an issue
 
Jenkins / Task JENKINS-60806
Orphaned Item Strategy not work in multibranch job
Issue Type: Task Task
Assignee: Francisco Fernández
Components: branch-api-plugin, cloudbees-folder-plugin
Created: 2020-01-17 08:35
Priority: Major Major
Reporter: runze xia

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

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

root@junwuhui.cn (JIRA)

unread,
Jan 17, 2020, 3:38:06 AM1/17/20
to jenkinsc...@googlegroups.com
runze xia updated an issue
Change By: runze xia
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
{code:java}
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]
{code}

root@junwuhui.cn (JIRA)

unread,
Jan 17, 2020, 3:42:07 AM1/17/20
to jenkinsc...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages