如何在多台机器上使用一台声纳服务器 [英] how to use one sonar server on multiple machines

查看:110
本文介绍了如何在多台机器上使用一台声纳服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Java,Eclipse。我已经安装了&在我的机器上配置了声纳服务器,声纳运行器,它运行正常。我已经使用 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

这篇关于如何在多台机器上使用一台声纳服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆