jenkinsci/jenkins — pull request #303 by emanuelez (2011-11-02 08:32:12+00:00)
Title: Fix for error 11563

It would be better to find out why the nextBuildNumber is at times empty.
In the mean time this will find the appropriate number and write it to the file.