I’m using sonarqube 6.7.4 on java project and I’m wonedring how or if it is possible to achive something like in checkstyle. For checkstyle I have config which is saved in GIT repository where are source codes. So if I return back project to previous version checkstyle will run on configuration which belongs to that version.
So for example:
I have version of project 1.0.0 which has some configuration 1.x.
Now I create version 2.0.0 in which I change the configuration slightly to 2.x so if I wuould like to run project 1.0.0 against this config it fails.
There is a request to fix something in version 1.0.0 so I need to get the configuration of 1.x and run sonar against this configuration. How can I do this?