Setting Reference branch at a project settings level will display "This branch is configured to use itself as reference branch" for all branches

Hi Costina,

i use this setting in a similar way and it works, see

After this project setting is done, every new branch != main branch should get the project setting
automatically, means master as reference.
The important thing is that main branch has to use previous version, it can not use itself as reference.

I have to use check for existence, create if not, set main branch as reference, set previous version for main branch every time, as it runs as part of a generic Jenkins pipeline that has to work for new and existing projects.

Gilbert

2 Likes