which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
SonarQube Version 7.3 (build 15553)
SonarJS 4.2.1 (build 6529)
Hey there. We have a SonarQube server configured with Leak Period of 7 days globally. I set the sonar.projectVersion to BASELINE and run an analysis. I can see the version BASELINE.
I then changed the sonar.projectVersion back to what it was before (1.0) and set the property sonar.leak.period=BASELINE in the sonar-project.properties.
I re-run the analysis, but when I launch the page, I still see Leak Period: 7 past days as opposed to BASELINE.
Is sonar Leak period supposed to be supported per project?
The sonar.leak.period property can only be set through the global/project administration UI, not passed along through analysis (scanner) parameters, such as those that would be set in a sonar-project.propeties file.
Thank you for your answer. I cannot find in the UI any “Project” administration section.
I looked at Administration, look at all the tabs and their sub options. Also looked at Administration > Configuration > General > Leak, but can’t find a way to set it per project.