Sonarqube:为单个多语言项目使用多个自定义质量配置文件...? [英] Sonarqube: use multiple custom quality profiles for a single multilanguage project...?

查看:611
本文介绍了Sonarqube:为单个多语言项目使用多个自定义质量配置文件...?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

也许这已经是Sonarqube的一个特色,但我无法在任何地方找到它的证据。我们有包含java,javascript和groovy代码的项目。我可以分别分析每种语言,或者如果我使用每种语言的默认质量配置文件,我可以进行多语言分析。但我无法弄清楚如何为同一个项目使用三个自定义配置文件(java,javascript和groovy)。是否有可能?



我目前正在运行Sonarqube 4.3.3,并使用maven构建和分析项目。

您只需将项目分配给那些非默认配置文件。有人对项目拥有管理权限可以这样做,当然也可以是全局管理员。


Maybe this is already a feature of Sonarqube, but I can’t find evidence of it anywhere. We have projects that contain java, javascript, and groovy code. I can analyze each language separately, or I can do a multi-language analysis if I use the default quality profiles for each language. But I can’t figure out how to use three custom profiles (java, javascript, and groovy) for the same project. Is it possible?

I’m currently running Sonarqube 4.3.3, and using the maven to build and analyze the projects.

解决方案

You simply need to assign the project to those non-default profiles. Someone with admin rights on the project can do that, and of course global admins can too.

这篇关于Sonarqube:为单个多语言项目使用多个自定义质量配置文件...?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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