Skip to content

Commit 5cbb1ad

Browse files
committed
Add a timeout to the Jenkins jobs
Move timeout out of node\{\} Change 'options' to 'checkoutOption'
1 parent fd2bb07 commit 5cbb1ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def err = null
2424
currentBuild.result = "SUCCESS"
2525

2626
try {
27-
options {
27+
checkoutOption {
2828
timeout(time:5, units: 'MINUTES')
2929
}
3030
node {

0 commit comments

Comments
 (0)