开发者

Getting the list of files changed from a commit in perforce

开发者 https://www.devze.com 2023-01-09 18:54 出处:网络
Is there a way, in Hudson, of getting the list of files from a p4 change list and passing it to an ant build s开发者_如何学运维cript ?Do you want to just trigger your Ant build script if a check-in is

Is there a way, in Hudson, of getting the list of files from a p4 change list and passing it to an ant build s开发者_如何学运维cript ?


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.


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
0

精彩评论

暂无评论...
验证码 换一张
取 消