From c5f92df4754b91c6c5871621d3ecd5f3a704df45 Mon Sep 17 00:00:00 2001 From: Philip Hyunsu Cho Date: Wed, 28 Nov 2018 14:57:09 -0800 Subject: [PATCH] Disable retries in Jenkins CI, since we're now using On-Demand instances instead of Spot (#3948) --- Jenkinsfile | 2 +- Jenkinsfile-restricted | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 8cd876534..143cba596 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -73,7 +73,7 @@ def buildPlatformCmake(buildName, conf, nodeReq, dockerTarget) { } def test_suite = conf["withGpu"] ? (conf["multiGpu"] ? "mgpu" : "gpu") : "cpu" // Build node - this is returned result - retry(3) { + retry(1) { node(nodeReq) { unstash name: 'srcs' echo """ diff --git a/Jenkinsfile-restricted b/Jenkinsfile-restricted index be4c4e317..99de2c09f 100644 --- a/Jenkinsfile-restricted +++ b/Jenkinsfile-restricted @@ -56,7 +56,7 @@ pipeline { stage('Jenkins: Build doc') { steps { script { - retry(3) { + retry(1) { node('linux && cpu && restricted') { unstash name: 'srcs' echo 'Building doc...' @@ -99,7 +99,7 @@ def buildPlatformCmake(buildName, conf, nodeReq, dockerTarget) { dockerArgs = "--build-arg CUDA_VERSION=" + conf["cudaVersion"] } // Build node - this is returned result - retry(3) { + retry(1) { node(nodeReq) { unstash name: 'srcs' echo """