I am using Sonar Entreprise version 8.9.3. Is there a way to automatically set a reference branch for a sub branch without using the sonar portal? I have a project that with branches that represent different versions of the project. We sometime create feature branches and we would like sonar to compare feature branches with the corresponding version branches. This can be done by using the new code portal, and manually specify a reference branch for each feature branch. That can be a bit tedious.
Is there a way to modify a jenkins script or any scripting file to make defining new code automatic? I’m not really familiar with the files in sonar, so I don’t know which file would specify which branch sonar should compare the current branch to and generate new code.
I think the jenkins job mentioned on this post might be what I am looking for but I am not sure what they mean exactly : After upgrade from 7.7 to 8.8: is there a parameter to define new code? - #4 by RSchaeferHIG