Skip to content

Commit 644ef50

Browse files
committed
Move timeout out of node\{\}
1 parent 4143770 commit 644ef50

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)