-
Notifications
You must be signed in to change notification settings - Fork 104
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
What feature do you want to see added?
Hey,
we have an issue with the branch discovery. Our current setting is that only branches are discovered that are not also filed as merge requests.
We have some release branches that should always be shown in the branch list.
Sometimes a merge request is created for one of the release branches to merge changes from one release to another.
With the current implementation, the branch is removed and recreated at the merge request tab, and we lose the complete build history.
Changing the branch discovery to all branches is also not a good option for us, because then we would have some duplicated jobs.
Basically, it's not so complicated to fix, but I'm unsure what the best strategy is.
- Extend the BranchDiscoveryTrait and add an input box with branches, that always should be shown.
- Create a new RegexBranchDiscoveryTrait, that will only discover branches with a given regex. I'm not sure if it will work when a branch is filtered out by one trait and included by another trait.
- Our request is too specific and we should create our own Trait in a custom plugin. But I believe that other people are also using release branches and may be facing the same issue.
Kind regards
Upstream changes
No response
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request