Skip to content

Commit

Permalink
chore(ci): add a timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
hutchic committed Oct 25, 2022
1 parent a04af2b commit 8374d25
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ pipeline {
}
options {
retry(2)
timeout(time: 5, unit: 'HOURS')
}
stages {
stage('Enteprise Test Builds') {
Expand Down Expand Up @@ -49,6 +50,7 @@ pipeline {
}
options {
retry(2)
timeout(time: 2, unit: 'HOURS')
}
steps {
sh 'echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin || true'
Expand All @@ -72,6 +74,7 @@ pipeline {
}
options {
retry(2)
timeout(time: 2, unit: 'HOURS')
}
steps {
sh 'echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin || true'
Expand All @@ -95,6 +98,7 @@ pipeline {
}
options {
retry(2)
timeout(time: 2, unit: 'HOURS')
}
steps {
sh 'echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin || true'
Expand Down Expand Up @@ -122,6 +126,7 @@ pipeline {
}
options {
retry(2)
timeout(time: 2, unit: 'HOURS')
}
steps {
sh 'echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin || true'
Expand Down Expand Up @@ -159,6 +164,7 @@ pipeline {
}
options {
retry(2)
timeout(time: 2, unit: 'HOURS')
}
steps {
sh 'echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin || true'
Expand All @@ -182,6 +188,7 @@ pipeline {
}
options {
retry(2)
timeout(time: 2, unit: 'HOURS')
}
steps {
sh 'echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin || true'
Expand All @@ -205,6 +212,7 @@ pipeline {
}
options {
retry(2)
timeout(time: 2, unit: 'HOURS')
}
steps {
sh 'mkdir -p /home/ubuntu/bin/'
Expand Down

0 comments on commit 8374d25

Please sign in to comment.