Reputation: 271
I'm trying to exclude branches to be build in multibranch job using Filter by name (with wildcards). My goal is to build all branches except for staging and release branches. Job configuration is: Include: * Exclude: staging release
From some reason exclude section doesn't work and the job includes staging and release branches as well.
Upvotes: 1
Views: 2016
Reputation: 4451
I think your "problem" is that your branch pipeline view still displays old items. These are called "orphaned" items.If you scroll down in your multibranch config you will notice a section called "Orphaned Item Strategy"
Tick the checkbox "Discard old items". You can leave the input fields empty.
Upvotes: 1