Skip to content

Commit 86445bd

Browse files
Update Jenkinsfile
1 parent a196e12 commit 86445bd

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Jenkinsfile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,11 @@ pipeline {
2020
stage("Checkout") {
2121
steps {
2222
echo "Branch: ${env.BRANCH_NAME}"
23-
checkout scm
23+
timeout(time: 2, unit: 'HOURS') {
24+
retry(5) {
25+
checkout scm
26+
}
27+
}
2428
}
2529
}
2630

@@ -82,6 +86,7 @@ pipeline {
8286
buildDiscarder(logRotator(numToKeepStr:'10'))
8387
timeout(time: 600, unit: 'MINUTES')
8488
disableConcurrentBuilds()
89+
skipDefaultCheckout(true)
8590
timestamps()
8691
office365ConnectorWebhooks([[
8792
name: "Office 365",

0 commit comments

Comments
 (0)