背景
在做了自动化测试后,代码扫码和质量可能不能保证,借助sonar进行代码扫描

1.一直提示connect refusued
2.将sonar的配置文件进行粘贴 sonar.properties
#--------------------------------------------------------------------------------------------------
# IMPORTANT:
# This file will *not* be reloaded upon hitting the "Restart" button in the UI, or using the
# api/system/restart endpoint.
# In order for any change made to this file to be taken into account, you must perform a full
# restart of the main SonarQube service.
#--------------------------------------------------------------------------------------------------
# Property values can

在自动化测试后,使用Sonar进行代码质量扫描遇到连接拒绝问题。配置sonar.properties文件,修改sonar.jdbc.url为jdbc:postgresql://192.168.40.64/sonarqube?currentSchema=public,通过IP指定数据库。
订阅专栏 解锁全文
876

被折叠的 条评论
为什么被折叠?



