Skip to content

Commit 4143770

Browse files
committed
Add a timeout to the Jenkins jobs
1 parent 44f54fb commit 4143770

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Jenkinsfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ currentBuild.result = "SUCCESS"
2525

2626
try {
2727
node {
28+
options {
29+
timeout(time:5, units: 'MINUTES')
30+
}
2831
stage 'Checkout'
2932
checkout scm
3033
checkoutDir = pwd()

0 commit comments

Comments
 (0)