Skip to content

Commit

Permalink
timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
liuzhaomax committed Jan 18, 2024
1 parent fd4c0a9 commit 49964ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ pipeline {
stage("Checkout") {
steps {
echo "--------------------- Checkout Start ---------------------"
timeout(time: 2, unit: "MINUTES"){
timeout(time: 1, unit: "MINUTES"){
checkout([$class: "GitSCM", branches: [[name: "**"]], extensions: [], userRemoteConfigs: [[url: "https://github.com/liuzhaomax/go-maxms.git"]]])
}
echo "--------------------- Checkout End ---------------------"
Expand All @@ -41,7 +41,7 @@ pipeline {
// steps {
// echo "--------------------- Update GitHub Start ---------------------"
// script {
// timeout(time: 20, unit: "MINUTES"){
// timeout(time: 5, unit: "MINUTES"){
// sh """
// git config --get remote.origin.url
// tr -d
Expand Down

0 comments on commit 49964ef

Please sign in to comment.