What is the orphaned item strategy?
BeginnerConceptMultibranch, organization folders & webhooks
Answer
It decides what happens to child jobs whose branch or PR disappeared. Options: discard old items (with days to keep and max number to keep), or keep forever. Without it, deleted branches pile up as disabled jobs with build history consuming disk. A typical setting: discard after 7 days, keep max 20. Remember that discarding deletes the job's build records, including artifacts for that branch.
More on Multibranch, organization folders & webhooks
How does a multibranch pipeline work?BeginnerWhat is branch indexing and what triggers it?BeginnerWhat are the discovery traits in the GitHub branch source?IntermediateWhat does the fork PR trust setting protect against?AdvancedWhat environment variables are set for PR builds?BeginnerWhat is an organization folder?Intermediate