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