Hi All - after some help if possible
We use multibranch pipelines that are triggered by web hook. The problem being is that deleted branches are not purged on delete from git to jenkins. So i have 1000s of stale branches across 100s of jobs that need removing. Any one know of a way i can clean these up without hitting scan now on every job ?
Many thanks in advance
You can scan the repository, it’ll trigger the cleanup flow
you can but that would require going to each individual job, looking for a way to scan them all - ie groovy script or such