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
精彩评论