共享建设哈德森作业之间的文物 [英] Sharing build artifacts between jobs in Hudson

查看:93
本文介绍了共享建设哈德森作业之间的文物的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想建立我们在哈德森的构建过程。

I'm trying to set up our build process in hudson.

作业1将是一个超快速(希望)持续集成构建将建立经常工作。

Job 1 will be a super fast (hopefully) continuous integration build job that will be built frequently.

作业2,将负责运行一个COM prehensive测试套件,在定期间隔或手动触发。

Job 2, will be responsible for running a comprehensive test suite, at a regular interval or triggered manually.

作业3将负责整个codeBase的运行分析工具(就像作业2)。

Job 3 will be responsible for running analysis tools across the codebase (much like Job 2).

我尝试使用高级项目选项>使用自定义的工作空间的特点所以在招聘1编译的code可工作2和3。然而使用,这一切似乎建立文物仍然认为工作1工作区中。我在我这样做对吗?是否有这样做的更好的办法?我想我在寻找类似构建管道安装的东西......这样的东西可以共享及相应的作业可以分阶段执行。

I tried using the "Advanced Projects Options > use custom workspace" feature so that code compiled in Job 1 can be used in Job 2 and 3. However, it seems that all build artifacts remain inside that Job 1 workspace. I'm I doing this right? Is there a better way of doing this? I guess I'm looking for something similar to a build pipeline setup...so that things can be shared and the appropriate jobs can be executed in stages.

(我使用批量任务也算......但它似乎是那些不能按期?只能手动触发?)

(I also considered using 'batch tasks'...but it seems like those can't be scheduled? only triggered manually?)

任何建议都欢迎。谢谢!

Any suggestions are welcomed. Thanks!

推荐答案

您可能想尝试复制神器插件:

You might want to try the Copy Artifact plugin:

<一个href=\"http://wiki.hudson-ci.org/display/HUDSON/Copy+Artifact+Plugin\">http://wiki.hudson-ci.org/display/HUDSON/Copy+Artifact+Plugin

您连续作业可以建立必要的文物,和你其他的工作可以拉他们做分析。

Your continuous job can build the necessary artifacts, and your other two jobs can pull them in to do analysis.

这篇关于共享建设哈德森作业之间的文物的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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