简体   繁体   English

在SVN提交期间运行作业

[英]Run a job during a SVN commit

which is the best way to integrate a task that should be done on a svn server when a specific repository receives a commit? 当特定存储库收到提交信息时,最好的方法是整合应该在svn服务器上完成的任务?

Brief explanation: I would like to build a JAR application from a java project that is actually maintained on a personal SVN server and I would like to do it in a fully automatic way. 简要说明:我想从一个实际维护在个人SVN服务器上的Java项目中构建一个JAR应用程序,并且我想以一种全自动的方式来完成它。

For now I'm not using any building tool (eg ANT) so a simple but functional solution would be preferred.. 目前,我不使用任何构建工具(例如ANT),因此首选简单但实用的解决方案。

Thanks in advance! 提前致谢!

Use a post-commit Repository Hook . 使用提交后的存储库挂钩

Of course a CI system such as Jenkins will do that for you, and much more. 当然,诸如Jenkins之类的CI系统将为您完成更多任务。

We use Cruise Control for project build (test and distributive creation). 我们使用Cruise Control进行项目构建(测试和分布式创建)。

There is a big amount of Continuous Integration tools . 大量的持续集成工具

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM