Hudson and UCM ClearCase
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.
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.
精彩评论