Closed bsiegel closed 7 years ago
I've had this also. I didn't manage to find a fix but I did mange to get further when I set these as additional properties. Not ideal but as a temp workaround may help. Until the issue is fixed of course.
-Dsonar.login=xxxxx -Dsonar.password=xxxxx
I have also upgraded to Sonar 5.6 which is causing other issues.
For the workaround mentioned before, enter these two properties in: Build Step > SonarQube Runner > Additional Parameters
Please try installing this version of the plugin: https://teamcity.jetbrains.com/viewLog.html?buildId=829128&tab=artifacts&buildTypeId=TeamCityPluginsByJetBrains_TeamCitySonarQubePlugin_Build100x
@pavelsher That build appears to fix the issue, thanks!
@pavelsher works for me as well.
@pavelsher ,I reinstall the plugin,see version=100 in teamcity 10,and still ERROR: Caused by: Not authorized. Please check the properties sonar.login and sonar.password.
jdk 8u102 sonar 5.6.1
I am trying to run sonarqube on a .net project in teamcity.
But my step is failing and I am getting the following as the build log:
Similar issue after update to 10.0.1 (build 42078) sonar-plugin version is 31
@sshulisr Firstly stop the sonar service, then try running sonarquebe on different port.
@sshulisr Is your SonarQube Server running on the same machine where TeamCity Agent is runnnig?
I'm closing this ticket as initial problem was solved. Please open a new one if needed.
Just upgraded to TeamCity 10 and builds with the Run SonarQube Analysis step are failing. In the log I see:
I tried removing my Sonar server and re-adding it, but this didn't fix the issue.