[snowpatch] [PATCH] jenkins: retry when Jenkins doesn't give us a build URL

Andrew Donnellan andrew.donnellan at au1.ibm.com
Tue Nov 22 15:05:23 AEDT 2016


On 22/11/16 14:19, Andrew Donnellan wrote:
> From: Russell Currey <ruscur at russell.cc>
>
> Sometimes when we try to get the build URL, Jenkins isn't ready yet and
> responds without details of the "executable". Rather than panic, retry
> every 5 seconds until we get something we can use back.
>
> Like other loops in the code, we need to have a timeout eventually.
>
> Signed-off-by: Russell Currey <ruscur at russell.cc>
> [ajd: rework the logic and commit message]
> Signed-off-by: Andrew Donnellan <andrew.donnellan at au1.ibm.com>

Applied to master: 3b2e30c742ccede3a7a36f1ea199fad80bbd5372

-- 
Andrew Donnellan              OzLabs, ADL Canberra
andrew.donnellan at au1.ibm.com  IBM Australia Limited



More information about the snowpatch mailing list