From e7edc6f24f8cedbb59b52f7044a5deed010bba4b Mon Sep 17 00:00:00 2001 From: John Kleinschmidt Date: Mon, 4 Dec 2017 13:19:51 -0500 Subject: [PATCH] Add 1 hour timeout --- Jenkinsfile | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) 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 {