Hello,
I would like to prevent custom revision on Bamboo. I know that it's not really possible in the interface. So I was thinking about a solution like failing the build whenever it's a custom revision. But when I try to use bamboo.planRepository.<position>.branchName variable even though it's a custom revision with a different branch, I still see the default branch in the build plan from the repository setting.
So is there a way to prevent custom revisions? Or at least fail the build if it's a custom revision with a message?
Thanks in advance,
Best,
Elifcan