问题描述
我正在使用 Java、Eclipse.我已经安装了 &在我的机器上配置了 sonar-server,sonar-runner,它工作正常.我已经使用 http://localhost:9000/ 在我的机器上测试了我的项目的代码质量.一切正常.但现在我想使用我机器上的声纳服务器测试另一台机器上的项目的代码质量.(意味着我有 5 台机器,然后我不想安装声纳服务器,声纳运行器在所有机器上,我只是将它安装在一台机器上并想将它用于所有其他机器).
I am using Java,Eclipse.I have installed & configured sonar-server,sonar-runner on my machine,it is working properly.I have tested the code quality of my project on my machine using http://localhost:9000/. Everything is working fine.But now I want to test code quality of project which is on another machine using sonar server which is on my machine.(Means I have 5 machines then I don't want to install sonar-server,sonar-runner on all machines, I just installed it on one machine & want to use it for all other machines).
如何将声纳服务器连接到另一台或不同机器上的项目.请指导我,如何做到这一点?如何进行设置?
How to connect sonar server to the project which is on another or different machine. Please guide me,how to do this?How to do setup?
推荐答案
在所有其他机器上,您需要安装 Sonar Runner 并将其配置为指向您的远程 Sonar 服务器.为此:编辑conf/sonar-runner.properties"文件以引用远程 Sonar 服务器的 URL 和远程数据库的 JDBC 连接.
On all your other machines, you need to install the Sonar Runner and configure it to point to your remote Sonar server. To do so: edit the "conf/sonar-runner.properties" file to reference the URL of your remote Sonar server and the JDBC connection to your remote database.
所有这些都在这里解释:安装和配置声纳扫描仪
All this is explained here: Installing and Configuring Sonar Scanner
这篇关于如何在多台机器上使用一个声纳服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!


大气响应式网络建站服务公司织梦模板
高端大气html5设计公司网站源码
织梦dede网页模板下载素材销售下载站平台(带会员中心带筛选)
财税代理公司注册代理记账网站织梦模板(带手机端)
成人高考自考在职研究生教育机构网站源码(带手机端)
高端HTML5响应式企业集团通用类网站织梦模板(自适应手机端)