diff options
author | cynthiabethea <108268296+cynthiabethea@users.noreply.github.com> | 2022-09-30 10:26:55 +0100 |
---|---|---|
committer | Philippe Perrin <philippe.perrin@sonarsource.com> | 2022-10-07 12:13:55 +0200 |
commit | fe5eb0fca6f0a31991bd20cd740d078e52bcb0fe (patch) | |
tree | 3e783ce03ac94a4cef8bd94599b809736a4a856c | |
parent | 8de417f3fd99a81942ff925434d5aca77f639421 (diff) | |
download | sonarqube-fe5eb0fca6f0a31991bd20cd740d078e52bcb0fe.tar.gz sonarqube-fe5eb0fca6f0a31991bd20cd740d078e52bcb0fe.zip |
DOC-159 adding a missing parameter to the docker command (#6745)
-rw-r--r-- | server/sonar-docs/src/pages/analysis/scan/sonarscanner.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/sonar-docs/src/pages/analysis/scan/sonarscanner.md b/server/sonar-docs/src/pages/analysis/scan/sonarscanner.md index 3cf6b39ad39..6d871a4b941 100644 --- a/server/sonar-docs/src/pages/analysis/scan/sonarscanner.md +++ b/server/sonar-docs/src/pages/analysis/scan/sonarscanner.md @@ -67,6 +67,7 @@ To scan using the SonarScanner Docker image, use the following command: docker run \ --rm \ -e SONAR_HOST_URL="http://${SONARQUBE_URL}" \ + -e SONAR_SCANNER_OPTS="-Dsonar.projectKey=${YOUR_PROJECT_KEY}" -e SONAR_LOGIN="myAuthenticationToken" \ -v "${YOUR_REPO}:/usr/src" \ sonarsource/sonar-scanner-cli |