About Quality Profiles

We are using SonarQube 8.0 and am wondering if it automatically version controls Quality Profiles. Can we go back to a previous Quality Profile that was used and determine what settings it had? Can you look at an old analysis and determine which rules were used in that Quality Profile?

Hi,

If you look at the page for an individual profile, you’ll see a ‘Changelog’ button. It lists each change incrementally. There’s no automated way to backtrack to a previous stage, but by using this page, you can undo the changes in between individually.

On the project side, when analysis takes place with either a new profile, or a profile that has been changed since the previous analysis, you’ll see an event in the analysis list, e.g.:
Selection_834

 
HTH,
Ann

1 Like

If a project has been analyzed many times is there a way to determine what rules from the Quality Profile were used during that analysis or are we just looking at what was changed since that analysis. For audit purposes we would like to be able to go back and see what the rules were when a project was analyzed at a particular time.
Are there any types of audit reports or anything like that, that could be used for such?
Please let me know if you need more information.

Hi,

You’ll have to do it the hard way, backtracking through the Quality Profile audit trail a line at a time.

 
:frowning:
Ann