{"action":"created","issue":{"url":"https://api.github.com/repos/JetBrains/TeamCity.SonarQubePlugin/issues/13","labels_url":"https://api.github.com/repos/JetBrains/TeamCity.SonarQubePlugin/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/JetBrains/TeamCity.SonarQubePlugin/issues/13/comments","events_url":"https://api.github.com/repos/JetBrains/TeamCity.SonarQubePlugin/issues/13/events","html_url":"https://github.com/JetBrains/TeamCity.SonarQubePlugin/issues/13","id":77979807,"number":13,"title":"Sonar Runner password handling not working","user":{"login":"mvossi","id":12508520,"avatar_url":"https://avatars.githubusercontent.com/u/12508520?v=3","gravatar_id":"","url":"https://api.github.com/users/mvossi","html_url":"https://github.com/mvossi","followers_url":"https://api.github.com/users/mvossi/followers","following_url":"https://api.github.com/users/mvossi/following{/other_user}","gists_url":"https://api.github.com/users/mvossi/gists{/gist_id}","starred_url":"https://api.github.com/users/mvossi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mvossi/subscriptions","organizations_url":"https://api.github.com/users/mvossi/orgs","repos_url":"https://api.github.com/users/mvossi/repos","events_url":"https://api.github.com/users/mvossi/events{/privacy}","received_events_url":"https://api.github.com/users/mvossi/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/JetBrains/TeamCity.SonarQubePlugin/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":19,"created_at":"2015-05-19T07:48:42Z","updated_at":"2015-10-13T15:02:01Z","closed_at":null,"body":"I installed TeamCity with the SonarQubePlugin and configured all details as explained in the documentation.\r\nI was able to save the credentials for Sonar on the TeamCity Sonar configuration page (Administration > Project > SonarQube Servers), but unfortunately they are not taken when I execute a Maven build. I also configured them in the POM file (sonar.password and sonar.jdbc.password), but no success. I always receive the message that the authentication failed.\r\nI downloaded the plugin sources and compiled a new plugin zip file, where I hardcoded the passwords in SQRParametersAccessor (sonar-plugin-common). With that new plugin it was possible to create sonar reports. That leads me to assume that there is a problem in the plugin (not in the sonar runner).\r\n\r\nThere is another problem which is likely related to https://github.com/Linfar/TeamCity.SonarQubePlugin/issues/9: Now with the hardcoded passwords plugin I see \"-Dsonar.password=\" in clear text (while \"-Dsonar.jdbc.password=\" is shown with stars). This seems to be a regression of the mentioned issue and should be fixed, too.\r\n\r\nI'd also propose to rename the Constants SONAR_LOGIN and SONAR_PASSWORD with the same strings as used by sonar runner (\"sonar.login\" instead of \"sonarLogin\", \"sonar.password\" instead of \"sonarPassword\") to be consistent with the other variables and to avoid confusion.\r\n\r\nSince my Sonar is configured to allow authorized users only, I would appreciate when this would be officially fixed in the plugin. Please contact me if you need more information or if you need help to get this fixed.\r\n\r\nMany thanks for your contributions\r\n\r\n~ Vossi ~"},"comment":{"url":"https://api.github.com/repos/JetBrains/TeamCity.SonarQubePlugin/issues/comments/147742437","html_url":"https://github.com/JetBrains/TeamCity.SonarQubePlugin/issues/13#issuecomment-147742437","issue_url":"https://api.github.com/repos/JetBrains/TeamCity.SonarQubePlugin/issues/13","id":147742437,"user":{"login":"Linfar","id":4517360,"avatar_url":"https://avatars.githubusercontent.com/u/4517360?v=3","gravatar_id":"","url":"https://api.github.com/users/Linfar","html_url":"https://github.com/Linfar","followers_url":"https://api.github.com/users/Linfar/followers","following_url":"https://api.github.com/users/Linfar/following{/other_user}","gists_url":"https://api.github.com/users/Linfar/gists{/gist_id}","starred_url":"https://api.github.com/users/Linfar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Linfar/subscriptions","organizations_url":"https://api.github.com/users/Linfar/orgs","repos_url":"https://api.github.com/users/Linfar/repos","events_url":"https://api.github.com/users/Linfar/events{/privacy}","received_events_url":"https://api.github.com/users/Linfar/received_events","type":"User","site_admin":false},"created_at":"2015-10-13T15:02:01Z","updated_at":"2015-10-13T15:02:01Z","body":"@n3ziniuka5 I've fixed 2 problems in editing/adding server definition. Please update the [plugin] (https://teamcity.jetbrains.com/viewLog.html?buildId=594578&tab=artifacts&buildTypeId=TeamCityPluginsByJetBrains_TeamCitySonarQubePlugin_Build) and set the password using UI. "}}