From dea7f3a46b4ecf626d174564b564d266469c6098 Mon Sep 17 00:00:00 2001 From: Hyokeun Jeon Date: Wed, 15 Jan 2020 15:27:09 +0900 Subject: [PATCH] Add retry routine Change-Id: Ic70eafdf396529756579ab593e17a159cc6256e1 (cherry picked from commit 0e7b0c584653db3e1509a1e5a8f1de2fd9d58d70) --- jobs/pre-release-image-creator/config.xml | 54 +++++++++++-------------------- 1 file changed, 18 insertions(+), 36 deletions(-) diff --git a/jobs/pre-release-image-creator/config.xml b/jobs/pre-release-image-creator/config.xml index 066cea5..0c27479 100644 --- a/jobs/pre-release-image-creator/config.xml +++ b/jobs/pre-release-image-creator/config.xml @@ -1,4 +1,4 @@ - + Image creation jobs for all kinds of images @@ -10,7 +10,7 @@ ALL create-snapshot - + false false @@ -28,13 +28,17 @@ TRIGGER_INFO - false + + + MIC_APPLIANCE_RETRY_COUNT + + 0 - imager + pre-release-imager false false false @@ -49,14 +53,13 @@ python ${WORKSPACE}/jenkins-scripts/job_imager.py - + POST-IMAGE-CREATION.env true - false false false @@ -64,14 +67,12 @@ python ${WORKSPACE}/jenkins-scripts/job_imager.py post-image-creation ALWAYS false - false BUILD-MONITOR.env false - false false false @@ -79,49 +80,34 @@ python ${WORKSPACE}/jenkins-scripts/job_imager.py BUILD-MONITOR ALWAYS false - false - BUILD-MONITOR-TIMEOUT.env + image_creator_retry.env true - false false false - BUILD-MONITOR - ALWAYS + pre-release-image-creator + FAILED false - false - - - false - - 0 - false - - + false - + - 55 + 100 + JOB_TIMEOUT_IN_MILLISECONDS @@ -135,15 +121,11 @@ if(name?.matches() && build?.matches()) { false userContent - + ${WORKSPACE}/configuration - - - false - false - \ No newline at end of file + -- 2.7.4