误报选项不会出现在项目中 [英] False Positive option don't appear on projects

查看:21
本文介绍了误报选项不会出现在项目中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 Ubuntu 12.01 机器上使用 Sonarqube.我使用 Sonar Runner 和 Jenkins 插件来分析我的代码.

I'm using Sonarqube on Ubuntu 12.01 machine. I use Sonar Runner with Jenkins plugin to analyse my code.

当我对新项目进行分析时,问题就来了.例如,我保存在 Sonar A 和 B 项目上,如果我对此项目执行新 C 项目的分析,则不会出现误报选项.这发生在我将 Sonar 更新到最新版本 4.1.2 之后.对于使用以前版本创建的项目,一切正常.有谁知道是什么问题?对于我的公司来说,标记错误(如误报)的可能性非常重要.

The problem came when I execute an analysis for new projects. For example I have saved on Sonar A and B project, if I execute analysis for new C project for this project false positive option don't appear. This occurs since I update Sonar to the last version 4.1.2. With projects that have been created with the previous version all works fine. Anyone knows what is the problem? For my company the possibility of mark errors like false positive is really important.

推荐答案

误报"操作仅适用于管理问题"权限,因此您可能需要检查新创建项目的权限.如果确实是权限问题,那么您下一步可能会修改与项目关联的默认权限模板,以便您在创建时获得正确的权限.

The "False positive" action is only available with the "Administer Issues" permission, so you might want to check the permissions on the newly created project(s). If it is indeed an issue with permissions, then your next step will probably to modify the default permission template associated with projects, so that you get the right permissions upon creation.

这篇关于误报选项不会出现在项目中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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