强制获取从提交更改的文件列表
在 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果签入 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.
您也许能够从 Hudson 生成的更改列表中解析它们。我不知道有什么方法可以从 p4 插件获取它,尽管我认为这也是有用的信息。
尝试这样的事情:
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: