Skip to content

Commit 712a12e

Browse files
authored
Merge pull request #204 from ccnmtl/TOOL-2-Jenkins-timeout
Move timeout out of node{}
2 parents f62441e + 644ef50 commit 712a12e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Jenkinsfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ def err = null
2424
currentBuild.result = "SUCCESS"
2525

2626
try {
27+
options {
28+
timeout(time:5, units: 'MINUTES')
29+
}
2730
node {
28-
options {
29-
timeout(time:5, units: 'MINUTES')
30-
}
3131
stage 'Checkout'
3232
checkout scm
3333
checkoutDir = pwd()

0 commit comments

Comments
 (0)