Hi,

I have implemented your suggestion. I have added a configurable delay after
any endview call (for n. It is set to 0 by default and you can configure it
through the global plugin settings.

Corresponding build is
https://jenkins.ci.cloudbees.com/job/plugins/job/clearcase-plugin/71/org.jenkins-ci.plugins$clearcase/artifact/org.jenkins-ci.plugins/clearcase/1.6-SNAPSHOT/clearcase-1.6-SNAPSHOT.hpi

Let me know if it is okay for you, then I'll issue a 1.5.1 with the fix.

Cheers,

Vincent


2014-06-30 12:24 GMT+02:00 Sascha Herrmann <[email protected]>:

> That was quick. It doesn't work. Immediate timeouts after endview again.
>
> Sascha
>
> Am Montag, 30. Juni 2014 12:21:00 UTC+2 schrieb Sascha Herrmann:
>
>> Hi Vincent,
>>
>> thanks. I will try. I doubt that it will bring an improvement, because
>> we're already ending the view_server processes after the build using a
>> batch script as I mentioned previously.
>>
>> I will update the post with my findings.
>>
>> Thanks again.
>>
>> Sascha
>>
>> Am Montag, 30. Juni 2014 09:32:19 UTC+2 schrieb Vincent Latombe:
>>>
>>> Hi Sascha,
>>>
>>> could you try the given build [1] and see whether you still encounter
>>> the issue? I have added a call to endview after the checkout. I believe it
>>> may also help with the delay you are observing when called initially
>>> (because it may be dependant on the number of active views on the host).
>>> If that do not work, I am open to add a configurable delay, you could
>>> add it to the endview command and open a pull request against the project.
>>>
>>> Cheers,
>>>
>>> Vincent
>>>
>>> [1] https://jenkins.ci.cloudbees.com/job/plugins/job/clearcase-
>>> plugin/70/org.jenkins-ci.plugins$clearcase/artifact/
>>> org.jenkins-ci.plugins/clearcase/1.6-SNAPSHOT/clearcase-1.6-SNAPSHOT.hpi
>>>
>>> Vincent
>>>
>>>
>>> 2014-06-30 8:08 GMT+02:00 Sascha Herrmann <[email protected]>:
>>>
>>>> Builds run fine now. Seems that endview takes some time to finish
>>>> before the next command can be called.
>>>> Would it be possible to get a delay like that into the official plugin?
>>>> Maybe configurable with a system property?
>>>>
>>>> Sascha
>>>>
>>>>
>>>>
>>>> Am Freitag, 27. Juni 2014 08:56:09 UTC+2 schrieb Sascha Herrmann:
>>>>
>>>>> Hi!
>>>>>
>>>>> I have quickly added a "Thread.sleep( 5000 )" into
>>>>> BaseSnapshotCheckoutAction#checkout() between endview and setcs on
>>>>> our build machine and will monitor if that improves things.
>>>>> Maybe ClearTool.endViewServer() would be the better place for that
>>>>> delay. Not sure.
>>>>> 5000 millis is probably too much, yes. Just wanted to be on the safe
>>>>> side for the test.
>>>>>
>>>>> First build flows ran successfully. Seems to confirm that there is a
>>>>> timing problem in our environment.
>>>>> Will update the thread with the results in a couple of days when I
>>>>> know for sure.
>>>>>
>>>>> Sascha
>>>>>
>>>>>  --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Jenkins Users" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to [email protected].
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>>  --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to