Please follow the below steps for configuring Sonarqube plug-ins with Teamcity server.
Open TeamCity Git bash/iterm window
1. cd /opt/JetBrains/TeamCity/.BuildServer/plugins/
download the plug-in to above location by executing below command where you enter userid like below marked red.
2. sudo wget --user=teamcitydevops --ask-password https://teamcity.jetbrains.com/repository/download/TeamCityPluginsByJetBrains_TeamCitySonarQubePlugin_Build20171x/1802362:id/sonar-plugin.zip
3. Password will be provided by Coach.
make sure sonar-plugin.zip is downloaded in /opt/JetBrains/TeamCity/.BuildServer/plugins/
Restart Team city
4. sudo /etc/init.d/teamcity stop
5. sudo /etc/init.d/teamcity start
Now click on administration, Click on Plug-ins list. You should see Sonarqube plug-ins appearing.
Open TeamCity Git bash/iterm window
1. cd /opt/JetBrains/TeamCity/.BuildServer/plugins/
download the plug-in to above location by executing below command where you enter userid like below marked red.
2. sudo wget --user=teamcitydevops --ask-password https://teamcity.jetbrains.com/repository/download/TeamCityPluginsByJetBrains_TeamCitySonarQubePlugin_Build20171x/1802362:id/sonar-plugin.zip
3. Password will be provided by Coach.
make sure sonar-plugin.zip is downloaded in /opt/JetBrains/TeamCity/.BuildServer/plugins/
Restart Team city
4. sudo /etc/init.d/teamcity stop
5. sudo /etc/init.d/teamcity start
Now click on administration, Click on Plug-ins list. You should see Sonarqube plug-ins appearing.
Step 5 web address no longer exists. It has been updated to https://teamcity.jetbrains.com/repository/download/TeamCityPluginsByJetBrains_TeamCitySonarQubePlugin_Build20171x/1597421:id/sonar-plugin.zip
ReplyDeletestep 2 web address may fail, use the below url:
ReplyDeletehttps://teamcity.jetbrains.com/repository/download/TeamCityPluginsByJetBrains_TeamCitySonarQubePlugin_Build20171x/1802362:id/sonar-plugin.zip
Hello mate nicee blog
ReplyDelete