Hi Ann! G. Ann Campbell schrieb:
No, you haven't missed anything, it's just not there. At least, not in a built-in way. To accomplish what you're after, you'll need to do something like: * Create branch project in SonarQube * Analyze master with branch name to set baseline * Branch code * Analyze with branch name and a version number that's different from the one master was analyzed with. OTOH, how long-lived are your feature branches? Won't SonarLint and Pull Request Analysis handle it for you?
Hrm... am I correct that setting the branch name to "baseline" is the thing that is mandatory in order to let this work? Our branches are not long-lived, they're typical feature branches. As such, we want Sonarqube to report us possible violations before they sneak into the main development branch. On a related note - what if there are multiple "baseline" branches (think multiple release branches) which get features / bugfixes "cherry-picked"? A single, static "baseline" branch would then not suffice, because I could still not tell the feature branch project which _exact_ branch it was forked off from, right? Thanks in advance, Thomas.
--
You received this message because you are subscribed to a topic in the Google Groups "SonarQube" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sonarqube/1BHxFagAq5Y/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sonarqube+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/4097bf63-4404-468e-93fd-904f96572d8d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.