@HEAD should not force the plugin to crash.

Can you please ensure that there was no space in between the URL and @HEAD.
Syntax: <URL>@HEAD

If the error still exists then can you please paste the error logs here.

Thanks

On Mon, Nov 26, 2012 at 8:25 AM, Felipe Coelho <fcoelh...@gmail.com> wrote:

> Hi
>
> I suspect this is time difference issue.
>> Check the time of your Mercurial system and Jenkins system, if I am right
>> then your Jenkins system would have some old date :-)
>>
>
> Actually the Mercurial system was behind the Jenkins server by ~3 seconds.
> Now both are running ntpd anyway, but the problem still persists. Note that
> I'm using the default quiet period of 5 seconds, so the Mercurial server
> actually has some time to catch up anyway
>
>
>> If that turns out to be true then you have two solutions:
>> * Either sync the time of both the machines.
>> * Or add @HEAD (at the end, without space) to the hg repo path in job
>> configuration.
>>
>> PS: In any case you can try this second solution, this should solve your
>> problem
>> Thanks
>>
>
> I've tried to append @HEAD to the hg repo but that only made the mercurial
> plugin crash.
>
> For now my ugly workaround is to insert a "hg pull -u" as the first
> command to run as a build step, at least it is getting new changesets
>



-- 

http://wharpreet.blogspot.com
http://linuxgazettes.blogspot.com
http://in.linkedin.com/in/wharpreet

Reply via email to