Disable retries in Jenkins CI, since we're now using On-Demand instances instead of Spot (#3948)

This commit is contained in:
Philip Hyunsu Cho 2018-11-28 14:57:09 -08:00 committed by GitHub
parent c5130e487a
commit c5f92df475
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

2
Jenkinsfile vendored
View File

@ -73,7 +73,7 @@ def buildPlatformCmake(buildName, conf, nodeReq, dockerTarget) {
} }
def test_suite = conf["withGpu"] ? (conf["multiGpu"] ? "mgpu" : "gpu") : "cpu" def test_suite = conf["withGpu"] ? (conf["multiGpu"] ? "mgpu" : "gpu") : "cpu"
// Build node - this is returned result // Build node - this is returned result
retry(3) { retry(1) {
node(nodeReq) { node(nodeReq) {
unstash name: 'srcs' unstash name: 'srcs'
echo """ echo """

View File

@ -56,7 +56,7 @@ pipeline {
stage('Jenkins: Build doc') { stage('Jenkins: Build doc') {
steps { steps {
script { script {
retry(3) { retry(1) {
node('linux && cpu && restricted') { node('linux && cpu && restricted') {
unstash name: 'srcs' unstash name: 'srcs'
echo 'Building doc...' echo 'Building doc...'
@ -99,7 +99,7 @@ def buildPlatformCmake(buildName, conf, nodeReq, dockerTarget) {
dockerArgs = "--build-arg CUDA_VERSION=" + conf["cudaVersion"] dockerArgs = "--build-arg CUDA_VERSION=" + conf["cudaVersion"]
} }
// Build node - this is returned result // Build node - this is returned result
retry(3) { retry(1) {
node(nodeReq) { node(nodeReq) {
unstash name: 'srcs' unstash name: 'srcs'
echo """ echo """