强制获取从提交更改的文件列表

发布于 2024-09-12 07:02:28 字数 59 浏览 3 评论 0原文

在 Hudson 中,有没有一种方法可以从 p4 更改列表中获取文件列表并将其传递给 ant 构建脚本?

Is there a way, in Hudson, of getting the list of files from a p4 change list and passing it to an ant build script ?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

万人眼中万个我 2024-09-19 07:02:28

如果签入 Perforce ,您是否只想触发 Ant 构建脚本?如果是这样,那就很简单了;使用 Perforce 插件

Do you want to just trigger your Ant build script if a check-in is made to Perforce ? If so, that's straightforward; use the Perforce plugin.

无声情话 2024-09-19 07:02:28

您也许能够从 Hudson 生成的更改列表中解析它们。我不知道有什么方法可以从 p4 插件获取它,尽管我认为这也是有用的信息。

尝试这样的事情:

wget ${BUILD_URL}/changes -O - > changes.txt

You might be able to parse them out of the change list that Hudson generates. I don't know of any way to get it from the p4 plugin, although I think it would be useful information also.

Try something like this:

wget ${BUILD_URL}/changes -O - > changes.txt
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文