Sonar Scaner
Загрузка
https://docs.sonarqube.org/latest/analysis/scan/sonarscanner/
Установка
https://www.continualintegration.com/miscellaneous-articles/how-do-you-install-sonarqube-scanner-on-a-rhel-server/
docker run --rm -e SONAR_HOST_URL="http://localhost:9000" \
-e SONAR_LOGIN="ТВОЙ_ТОКЕН" \
-v "$(pwd):/usr/src" \
sonarsource/sonar-scanner-cli
sonar-scanner \
-Dsonar.projectKey=chm-s.com \
-Dsonar.sources=. \
-Dsonar.host.url=http://65.21.221.25:9000 \
-Dsonar.token=sqp_011f26a83e2b0097b0325fae248f7168fbbdc252
docker run --rm -e SONAR_HOST_URL="http://localhost:9000" \
-e SONAR_LOGIN="sqp_011f26a83e2b0097b0325fae248f7168fbbdc252" \
-v "$(pwd):/usr/src" \
sonarsource/sonar-scanner-cli
Комментарии
Отправить комментарий