Skip to content

Commit f62441e

Browse files
authored
Merge pull request #198 from ccnmtl/TOOL-2-Jenkins-timeout
Add a timeout to the Jenkins jobs
2 parents 13dde1a + 4143770 commit f62441e

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)