diff --git a/Jenkinsfile b/Jenkinsfile index 7a5b84f..3e0c7d0 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -24,10 +24,10 @@ def err = null currentBuild.result = "SUCCESS" try { + options { + timeout(time:5, units: 'MINUTES') + } node { - options { - timeout(time:5, units: 'MINUTES') - } stage 'Checkout' checkout scm checkoutDir = pwd()