salimfadhley/jenkinsapi — pull request #252 by jpiron (2014-03-13 17:38:38+00:00)
Title: polling jenkins each time Jobs is initialized

This ensure jobs list to be up-2-date.

Here's a use case leading to an error :
jenkinsapi is used within a forever process (let's say an API using Bottle).
This API exposes an URL to create jenkins jobs (using jenkinsapi).
If a job is created by the API then deleted directly from jenkins, it won't be possible to recreate this exact same job from the API as the Jobs.create function polls after the creation. So for the API the job still exists.

This is a twisted use case but i'm running into it !