Where does Hudson store its last synchronized Perforce changelist number?
One of our Hudson build 开发者_如何学Csystems is not automatically starting its jobs since we switched it over to a different Perforce server. The polling log reports:
Last sync'd change was nnnnnn
Where nnnnnn
is a changelist number from the old server. The new server has lower CL numbers, which causes the problem.
How do I adjust the CL number that Hudson compares against?
The changelist number is kept in the build.xml file in the Hudson job's lastSuccessful directory. Replace the <changeNumber>
element's content with an appropriate value, then restart Hudson.
精彩评论