aboutsummaryrefslogtreecommitdiff
path: root/jenkins/bisect.jpl
diff options
context:
space:
mode:
authorGuillaume Tucker <guillaume.tucker@collabora.com>2018-11-28 16:05:00 +0000
committerGuillaume Tucker <guillaume.tucker@collabora.com>2018-12-07 13:23:52 +0000
commit401ce3d1cd0c6e00c71b3cc6a856f77d2510592f (patch)
treeddee8ce6a7f018432da168ea7a0894a41fb3ab5d /jenkins/bisect.jpl
parent4c2537123e01898c0f6c267d8b92361e888f41d0 (diff)
bisect.jpl: pull Docker image with retry
Use the Job.dockerPullWithRetry() method to pull the Docker image with retries for the same reasons as it's done in build.jpl. Signed-off-by: Guillaume Tucker <guillaume.tucker@collabora.com>
Diffstat (limited to 'jenkins/bisect.jpl')
-rw-r--r--jenkins/bisect.jpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/jenkins/bisect.jpl b/jenkins/bisect.jpl
index f061396..49e180a 100644
--- a/jenkins/bisect.jpl
+++ b/jenkins/bisect.jpl
@@ -83,6 +83,7 @@ TREES_WHITELIST
@Library('kernelci') _
import org.kernelci.build.Kernel
+import org.kernelci.util.Job
/* Working around some seemingly broken Python set-up... */
def eggCache() {
@@ -574,9 +575,8 @@ ${params_summary}"""
}
}
- def img = docker.image(docker_image)
- img.pull()
- img.inside() {
+ def j = new Job()
+ j.dockerPullWithRetry(docker_image).inside() {
try {
def valid_bisect = bisection(kci_core, kdir, checks)
if (!valid_bisect)