本文主要介绍hudson配置sonar后无法连接到sonar的原因
关于hudson、sonar的介绍以及各自如何安装及如何连接请自己google
在sonar连接Hudson时需要在hudson的系统配置中配置sonar,当然先要安装sonar插件
主要的配置包括sonar的server url,sonar的db配置以及一些触发事件是否选中
在配置的时候需要主要server url是否正确(尤其是端口)
db的正确性,这个可以查看sonar的配置文件中配置,目录为sonar安装目录的/conf/sonar.properties
最后可以选择一些触发事件,如Build periodically定期build
Manually started by user允许用户手动开始
在配置的时候就出现db配置错误导致只能跳转到sonar首页,无法将项目关联到sonar中
更相信的配置请参考:
http://tianya23.blog.51cto.com/1081650/372557
http://wenku.baidu.com/view/2005aae86294dd88d0d26bdc.html
已有 0 人发表留言,猛击->>这里<<-参与讨论
ITeye推荐