-
Notifications
You must be signed in to change notification settings - Fork 10
SonarQube
Ruben edited this page Jun 15, 2020
·
1 revision
This guide will show you how to run SonarQube for the DeX backend & frontend.
- Docker is installed - Recommended: Docker Desktop Overview
- SonarQube is installed - Recommended: SonarQube - Get Started in Two Minutes Guide
- Java SDK is installed and accesible via the following command:
java -version
- Dotnet Core SDK is installed and accesible via the following command:
dotnet --version
Install SonarScanner for MSBuild
I recommend the following method:
dotnet tool install --global dotnet-sonarscanner --version 4.8.0
- Open your SonarQube instance and create a project named:
dex-backend
- Open terminal in root of project
- Run the following commands
dotnet sonarscanner begin /k:dex-backend
dotnet build
dotnet sonarscanner end
- Navigate to your SonarQube panel (by default this is http://localhost:9000/)
- See the results
- Docker is installed - Recommended: Docker Desktop Overview
- SonarQube is installed - Recommended: SonarQube - Get Started in Two Minutes Guide
- Open your SonarQube instance and create a project named:
dex-frontend
- Open terminal in root of project
- Run the following command
sonar-scanner
- Navigate to your SonarQube panel (by default this is http://localhost:9000/)
- See the results