jenkins中没有声纳运行器选项? [英] No sonar-runner option in jenkins?
问题描述
我希望在我们的jenkins服务器上安装sonarQube.
I'm looking to install sonarQube on our jenkins server.
我可以找到的文档告诉我在
The documentation i can find tells me to configure sonar-runner in
Jenkins --> manage Jenkins --> Configure system
但是那里没有声纳赛跑者"选项. 我配置了声纳服务器时有一个声纳"选项,并且声纳插件已安装并且是最新的.
however there is no 'sonar runner' option there. There is a 'sonar' option where i configured my sonar server, and the sonar plugin is installed and up to date.
我如何显示声纳运行器配置?
How do i get the sonar-runner configuration to show up?
(我们希望独立的声纳作业不是Maven,因为这是一个没有Maven的项目.)
(We want the standalone sonar job not the maven on as this is a project without maven.)
推荐答案
好.所以,如果我理解得很好:
Ok. So, if I understand well:
-
在插件管理器中进入管理Jenkins"->管理插件"->已安装"选项卡,您可以在已安装的插件中看到"Jenkins Sonar插件". ->请注意,有一个SonarGraph插件不正确.请验证您是否具有以下内容: http://i.stack.imgur.com/SNZLG.jpg
Going into Manage Jenkins' -> 'Manage Plugin' -> tab 'Installed' in the Plugin manager, you can see 'Jenkins Sonar plugin' in the installed plugins. --> Beware that there is a SonarGraph plugin that is not the proper one. Please verify you have this: http://i.stack.imgur.com/SNZLG.jpg
您说可以在Jenkins中安装声纳服务器部件.我了解您参考此文档 http://docs. codehaus.org/display/SONAR/Configuring+SonarQube+Jenkins+Plugin#ConfiguringSonarQubeJenkinsPlugin-AddingSonarQubeServer ,更具体地说是添加SonarQube服务器"部分的第2点和第3点. ->您能否确认您在Jenkins配置下具有此声纳"部分?
You say you can install the sonar server part in Jenkins. I understand you refer to this doc http://docs.codehaus.org/display/SONAR/Configuring+SonarQube+Jenkins+Plugin#ConfiguringSonarQubeJenkinsPlugin-AddingSonarQubeServer, and more specifically section 'Adding SonarQube Server' point 2 and 3. --> Can you confirm that you have this 'Sonar' part under you Jenkins configuration ?
如果是以前的1& 2,您还应该在Jenkins中提供SonarQube Runner部分,如先前的文档和我博客中的文章中所述. ->您可以确认这是缺少的部分吗?
If yes to previous 1 & 2, you should also have the SonarQube Runner part available in Jenkins, as in the previous doc and the post on my blog. --> Can you confirm this is the part that is lacking ?
您可以尝试以下方法: Jenkins->新建作业->选择构建自由样式的软件项目",输入作业名称->单击确定". 构建->添加构建步骤"部分:您是否可以看到调用独立声纳分析"菜单: http ://i.stack.imgur.com/9TmFr.jpg 吗?
Can you try this: Jenkins -> New Job -> Select 'Build a free-style software project', enter a job Name -> click Ok. Section Build -> 'Add build Step': can you see the 'Invoke standalone Sonar analysis' menu : http://i.stack.imgur.com/9TmFr.jpg ?
You have SonarQube runner installed and correctly configured: http://docs.codehaus.org/display/SONAR/Installing+and+Configuring+SonarQube+Runnerhttp://docs.codehaus.org/display/SONAR/Installing+and+Configuring+SonarQube+Runner
不要犹豫,要求进一步的精确度.
Do not hesitate to ask for further precision.
这篇关于jenkins中没有声纳运行器选项?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!