DEV branch - Dev env MAIN branch - All higher envs
Currently we have a DEV branch in Stash for which we fail builds if Quality Gate thresholds are not met in SonarQube using the build breaker plugin
But we have also allowed DEV to skip the build breaker check.
As an additional check we wanted to restrict the merge in Stash from DEV to MAIN if the quality gates are not met. I know Stash allows some restrictions to be set while merging. But I'm not aware if I can do this based on SonarQube Quality Gate status for the project