Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法配置Sonar或 Sonar Maven 插件以在检测到违反某个优先级(阻止程序、严重)时使构建失败?
您必须在质量配置文件中定义阻塞/严重违规数量的警报阈值(> 0 是您的情况)并安装构建破坏插件(声纳 2.4 更新中心中的“集成”类别)。