Part - 4 Integrate SonarQube with Visual Studio using SonarLint
- Login SonarQube user interface: http://localhost:9000/sessions/new
- Create a Project and given name like "TestCode" as see the screenshot and click on Set Up.
- Generate a Token, Click on Generate:
- Now See the Generated Token and click on continue:
- Next, it will give you commands.
- Copy all commands and store in some location.
- Open the command prompt as administrator and go to project root and run the 1st command.
SonarScanner.MSBuild.exe begin /k:"TestCode" /d:sonar.host.url="http://localhost:9000" /d:sonar.login="fa711df938cea5515457fb505d693799a42ae936"
and It will run on project root after the run will show “succeeded” message.
- Now Rebuild with MSBuild.exe from the project root.
Before executing the 2nd command find the "MsBuild.exe" in your system, I am using vs2017 and my location is- "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\MsBuild.exe"
Execute the command
"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\MsBuild.exe" /t:Rebuild
Best web diary on the scanner I have ever seen. I am a businessman and for my work propose, I had to contract onsite3d so that I can check my wander. They did a bewildering work. They are in addition took a toll moo from their client. Get quality laser scanning Vancouver, BC
ReplyDeletevery nice blogs!!! i have to learning for lot of information for this sites
ReplyDeleteDevOps Training in Bangalore | Certification | Online Training Course institute | DevOps Training in Hyderabad | Certification | Online Training Course institute | DevOps Training in Coimbatore | Certification | Online Training Course institute | DevOps Online Training | Certification | Devops Training Online