diff --git a/Jenkinsfile b/Jenkinsfile index 51ad1b492dcb..bf0200b1bcfb 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -8,10 +8,12 @@ pipeline { label 'osx' } steps { - sh 'script/bootstrap.py --target_arch=x64 --dev' - sh 'npm run lint' - sh 'script/build.py -c D' - sh 'script/test.py --ci --rebuild_native_modules' + timeout(60) { + sh 'script/bootstrap.py --target_arch=x64 --dev' + sh 'npm run lint' + sh 'script/build.py -c D' + sh 'script/test.py --ci --rebuild_native_modules' + } } post { always { @@ -27,10 +29,12 @@ pipeline { MAS_BUILD = '1' } steps { - sh 'script/bootstrap.py --target_arch=x64 --dev' - sh 'npm run lint' - sh 'script/build.py -c D' - sh 'script/test.py --ci --rebuild_native_modules' + timeout(60) { + sh 'script/bootstrap.py --target_arch=x64 --dev' + sh 'npm run lint' + sh 'script/build.py -c D' + sh 'script/test.py --ci --rebuild_native_modules' + } } post { always {