开发者

Hudson and UCM ClearCase

开发者 https://www.devze.com 2023-01-09 23:09 出处:网络
I have recently put one of our projects on Hudson using the UCM ClearCase plugin. Hudson works well until a configuration changes and then it hangs at update. In ClearCase the user is prompted and ask

I have recently put one of our projects on Hudson using the UCM ClearCase plugin. Hudson works well until a configuration changes and then it hangs at update. In ClearCase the user is prompted and asked if they would like to continue (yes/no) when theres a change so im guessing this is where Hudson is hanging.

I have configured Hudson to work with a snapshot view for speed so I would ideally like to avoid switching to a开发者_Go百科 dynamic view.

The project uses ant for the build process.


I suppose you have the 'use update' option checked in the ClearCase section of your Hudson job.

What version of the ClearCase plugin are you using?
And what is the exact update command used in the Hudson job logs?

an update -force -overwrite would make sure, for instance, to never ask anything to the user.

Hudson and UCM ClearCase


Are you mixing scheduled build and ClearCase polling? If there is an update to the stream before the polling happens Hudson may ask for user input.

As a workaround I have set "cleartool setcs -stream" in the scripts. This makes update gets called twice for the case where it started by polling but does not cause Hudson to wait in the scheduled build.

0

精彩评论

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

关注公众号