My multibranch declarative Jenkins pipeline is failing very frequently during SCM checkout with timeout error and it works after one or two retries. is there anyway to automate the retry the SCM checkout?
Jenkinsfile
agent {
label "agent1"
}
stages {
stage('Test') {
parallel {
stage('Test1') {
steps { sh 'echo Test 1 passed' }
}
stage('Test2') {
steps {
sh 'echo Test2 is passed'
}
} stage('Test3') {
steps {
sh 'echo Test 3 passed'
}
}
}
}
}