SonarQube - how to run the code analysis again for a project after creating that project

Version: sonarqube-8.1.0.31237

I have created a project and run the code analysis. Later I did some changes in rules and tried to run the code analysis again. But in the UI of http://localhost:9000/projects, I can’t find any menu or button to trigger the code analysis again. Can anyone help?
What I have done so far is to create a new project and run the code analysis.

Thanks Adam for feedback!
I am using SonarQube for a .NET (C#) project. When I do the code analysis, as SonarQube suggested, I copied the 3 command below into command line.

SonarScanner.MSBuild.exe begin /k:"" /d:sonar.host.url=“http://localhost:9000” /d:sonar.login=""
MsBuild.exe /t:Rebuild
SonarScanner.MSBuild.exe end /d:sonar.login=""

If SonarQube can show these command in UI of http://localhost:9000/dashboard?id=, that will be great. Otherwise, it’s hard to remember these command and the only way to run the code analysis again is to create a new project. For now, I copied these 3 commands into a .bat file after creating a project.

1 Like