质量门周期(SonarQube 5.4) [英] Quality Gate periods (SonarQube 5.4)

查看:227
本文介绍了质量门周期(SonarQube 5.4)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们想将SonarQube Server从5.0版本升级到当前的5.4. 我们导入了质量配置文件,并且必须手动设置质量门"(我们找不到自动执行此操作的方法).

We want to upgrade our SonarQube Server from the 5.0 version to the current 5.4. We imported our Quality Profiles, and had to set the Quality Gates manually (we found no way to do that automatically).

现在我有一个问题,自从以前的分析以来,我无法使用ValueΔ,只能使用"Value"和"Leak".我们必须使用此属性,因为我们公司的大型项目具有旧版Code.

Now I have the problem, that i cant use the Value Δ since previous analysis , only "Value" and "Leak". We have to use this property, because our company have large projects with legacy Code.

有人知道,此物业发生了什么事?

Does anyone know, what happened with this Property?

推荐答案

从SonarQube 5.4开始,质量门条件唯一可用的微分周期是泄漏周期(请参见

Since SonarQube 5.4 the only Differential Period available for Quality Gate conditions is the Leak Period (see 5.4 Upgrade Notes).

可以在项目级别自定义泄漏时间(请参见差异视图设置).当前默认为since_previous_version,但您可以根据需要将其设置为previous_analysis(在其他选项中).

The Leak Period can be customized at a project level (see Differential Views Settings). It currently defaults to since_previous_version but you are free to set it to previous_analysis (amongst other options) if you wish.

这篇关于质量门周期(SonarQube 5.4)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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