jenkinsci/xvfb-plugin — pull request #2 by JeroenVanHab (2012-10-05 08:49:23+00:00)
Title: Make sure the random display name is always more than 0.

Hello,

I've made some small adaptations to your code for the random display name. According to the Jenkins javadoc for Executor, getNumber will start from 0, which is not wanted for Xvfb. Increasing this number with one will solve this problem. Furthermore I've added a check so the random number will remain between 1 and 100, as to conform to your documentation on the main page of the plugin.

With kind regards,

Jeroen