Slow Jenkins repository

Yesterday (02.03.2015) my cookbook for installing a cent-os continuous integration server failed unexpectedly on Jenkins installation.

The reason was a timeout of the yum installation. After some time I found out that the Saturday before (28.02.2015) a new version of Jenkins (1.600) had been released. And sine the second of may was a Monday apparently a lot of users downloaded the new version and download performance of the yum repository was therefore very slow for that package.
I resolved the issue by falling back to a later version of Jenkins (1.589-1.1). The download for that package was considerably quicker. This could easily be done by setting the appropriate default attribute for the Jenkins version:

Another way of trying to fix the problem would be to increase the timeout. This can be done using Chef Config attribute:

As it is explained here

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">