詹金斯没有声纳运行选项? [英] 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.
如何显示 sonar-runner 配置?
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:
进入 Manage Jenkins' -> 'Manage Plugin' -> 插件管理器中的 'Installed' 选项卡,您可以在已安装的插件中看到 'Jenkins Sonar plugin'.--> 注意有一个不合适的 SonarGraph 插件.请验证您是否拥有: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 -> New Job -> 选择'Build a free-style software project',输入job Name -> 点击OK.Section Build -> 'Add build Step':你能看到'Invoke Standalone Sonar analysis'菜单吗: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 ?
您已安装并正确配置了 SonarQube 运行器:http://docs.codehaus.org/display/SONAR/Installing+and+Configuring+SonarQube+Runnerhttp://docs.codehaus.org/display/SONAR/Installing+and+Configuring+SonarQube+Runner
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.
这篇关于詹金斯没有声纳运行选项?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!