声纳+ github集成 [英] sonar+github integration

查看:107
本文介绍了声纳+ github集成的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想用git启用sonar,但是它首先需要使用hudson或其他东西从git仓库中取出项目,然后声纳会定期在hudson上分析代码.am我的意思是我的步骤:



1.使用hudson从git中完成项目。

2.在哈德森上试试将分析代码并发送更新。<



或者直接使用git + sonar它是如何工作的,任何人都可以指导我使用它。 >解决方案

是的,您需要先从GitHub中获取项目,然后在本地副本上启动声纳分析(Sonar需要文件存在于文件系统中才能分析它们) 。

所以你可以手动拉动你的项目或者使用Jenkins / Hudson这样的CI服务器。


I want to enable sonar with git but is it neccesary that first pull the project from git repository using hudson or something else and then sonar will analyse the code periodically on hudson .am I right means my steps :

1.Pull project from git using hudson.

2.Sonar on hudson will analyse the code and send the updates.?

or directly we can use git+sonar how it works ,can anybody guide me to get it work.

解决方案

Yes, you need first to pull your project from GitHub, and then launch a Sonar analysis on your local copy (Sonar needs the file to exist on the file system to be able to analyse them).

So you can pull your project manually or obvioulsy using a CI server like Jenkins/Hudson.

这篇关于声纳+ github集成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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