-
Improvement
-
Resolution: Fixed
-
Blocker
-
None
If you create an organization folder, you can define an orphaned item strategy in its configuration screen, but this applies to the organization folder itself—in other words, whether and when its direct children (multibranch projects) may be deleted. All of the multibranch projects, which are unconfigurable, have a predefined new DefaultOrphanedItemStrategy(true, "0", "0"): delete obsolete branch projects immediately.
It would be useful to be able to define the policy to be applied at this lower level. Could for example be an additional selector for the children's policy.
Or at a minimum, the policy defined at the organization level should be assumed to carry over: disable deletion entirely if requested; if requested but using a nonzero daysToKeep, use the same value. (Not sure it makes sense to interpret organization-level numToKeep as that would be counting repositories, not branches, which might have entirely different typical values.)
- is duplicated by
-
JENKINS-33637 Github PR's ignore Github Org Folder Orphan Strategy
-
- Resolved
-
- is related to
-
JENKINS-35251 Provide different strategies for repositories and branches / pull request
-
- Resolved
-
- links to
[JENKINS-33819] Inability to control orphaned item strategy on multibranch children of an organization folder
Link |
New:
This issue is duplicated by |
Assignee | Original: Stephen Connolly [ stephenconnolly ] | New: Manuel Recena Soto [ recena ] |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Priority | Original: Major [ 3 ] | New: Blocker [ 1 ] |
Remote Link | New: This issue links to "PR (Web Link)" [ 14291 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: In Progress [ 3 ] | New: Resolved [ 5 ] |
Link |
New:
This issue is related to |
Workflow | Original: JNJira [ 169813 ] | New: JNJira + In-Review [ 198700 ] |