你可以运行一个ant构建脚本作为Hudson部署的一部分吗?

时间:2011-03-17 16:32:17

标签: ant hudson build-automation

我们希望能够使用Hudson部署我们的项目,但项目的构建文件会生成一些文件并从其他位置下载包。

是否有可能让Hudson在部署过程中完成这些任务?

3 个答案:

答案 0 :(得分:2)

Hudson(Jenkins)支持Ant,所以是的,您可以运行Ant脚本中指定的任何部署任务。

答案 1 :(得分:0)

以下是hudson wiki中相应页面的链接:Building A Software Project

答案 2 :(得分:0)

您可以使用maven ant插件(http://maven.apache.org/plugins/maven-antrun-plugin/)在hudson中运行ant脚本而无需配置hudson。这对于运行ant脚本manuelly以及使用hudson都很有用。