Authenticate sonarScanner via basic auth

后端 未结 2 729
南旧
南旧 2020-12-21 14:59

I\'m frustrated with this problem, Our sonarqube server is behind http basic authentication and local runner fails with 401 error. Is it somehow possible to provide credent

2条回答
  •  攒了一身酷
    2020-12-21 15:27

    The permission "Execute Analysis" is required to execute an analysis. In order to set credential to the scanner, you need to use sonar.login and sonar.password. For more information, please have a look at :

    • Authorization : https://docs.sonarqube.org/display/SONAR/Authorization
    • Scanner parameters : https://docs.sonarqube.org/display/SCAN/Analyzing+with+SonarQube+Scanner

提交回复
热议问题