Created
August 30, 2022 07:32
-
-
Save lcube45/cfa0c0d5456227872f1404a4f47883bc to your computer and use it in GitHub Desktop.
Sonar scanner docker
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run \ | |
--rm \ | |
-v "$(pwd):/usr/src" \ | |
sonarsource/sonar-scanner-cli \ | |
-Dsonar.projectKey=<project-key> \ | |
-Dsonar.sources=<folder-to-scan> \ | |
-Dsonar.host.url=<sonarqube-dns> \ | |
-Dsonar.login=<sonarqube-token> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment