简体   繁体   English

如何使用Jenkins从声纳运行器调用不同的声纳仪表板?

[英]how to call different sonar dashboard from sonar runner using Jenkins?

I have created a separate Sonar dashboard (customize dashboard) and I have different types of projects.So I want to analyse code using SonarQube and want different dashboard for different types. 我创建了一个单独的Sonar仪表板(自定义仪表板),并且有不同类型的项目,因此我想使用SonarQube分析代码,并希望使用不同类型的仪表板。 I see default Sonar dashboard, all projects come but how can I separate when I call from sonar runner using Jenkins?Is there any sonar properties for this? 我看到了默认的Sonar仪表板,所有项目都来了,但是当我使用Jenkins与声纳运行器通话时如何分离?是否有此声纳属性? Thanks 谢谢

It looks like you are believing that it is possible to define during the analysis the dashboard to be used. 您似乎认为可以在分析期间定义要使用的仪表板。 If so, this is not how it works. 如果是这样,这不是它的工作方式。

I use different dashboards showing different widgets and measures in different order, specialized on a technology: I don't look at the same metrics for Java or Cobol. 我使用不同的仪表板,这些仪表板以不同的顺序显示不同的窗口小部件和度量,专门针对一项技术:我没有看到针对Java或Cobol的相同度量。 Now, these dashboard are available for all your analysis. 现在,这些仪表板可用于所有分析。 Although, you could have a specific user (or different groups of users) for each technology, so when they log, they can see only dashboards specific to this group. 虽然,每种技术可以有一个特定的用户(或不同的用户组),所以在他们登录时,他们只能看到特定于该组的仪表板。

Hope it helps, but it's true that you question is not clear. 希望对您有所帮助,但是您的问题确实不清楚。 Regards. 问候。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM