Hudson的Mercurial插件使用

Hudson默认不支持Mercurial,但是可以通过插件使用

 

1.去下载插件:

http://hudson-ci.org/download/plugins/mercurial/

找一个最新版的下载mercurial.hpi文件

 

2.打开hudson管理界面,系统管理 » 插件管理 ,点击高级标签

上传插件那里把插件文件上传即可

 

3.打开hudson里你的项目,设置界面中如下设置

扫描二维码关注公众号,回复: 348349 查看本文章

先设置Mercurial,注意要正确设置你的仓库路径

 

然后设置构建触发条件,下图设置中是指每5分钟检查仓库有无更新,若有更新就自动构建

 

 

Corn代码   收藏代码
  1. */5 * * * *  
 

 

猜你喜欢

转载自lalanicer.iteye.com/blog/1725767