Add 1 hour timeout

This commit is contained in:
John Kleinschmidt 2017-12-04 13:19:51 -05:00
parent 3e056eec9e
commit e7edc6f24f

4
Jenkinsfile vendored
View file

@ -8,11 +8,13 @@ pipeline {
label 'osx' label 'osx'
} }
steps { steps {
timeout(60) {
sh 'script/bootstrap.py --target_arch=x64 --dev' sh 'script/bootstrap.py --target_arch=x64 --dev'
sh 'npm run lint' sh 'npm run lint'
sh 'script/build.py -c D' sh 'script/build.py -c D'
sh 'script/test.py --ci --rebuild_native_modules' sh 'script/test.py --ci --rebuild_native_modules'
} }
}
post { post {
always { always {
cleanWs() cleanWs()
@ -27,11 +29,13 @@ pipeline {
MAS_BUILD = '1' MAS_BUILD = '1'
} }
steps { steps {
timeout(60) {
sh 'script/bootstrap.py --target_arch=x64 --dev' sh 'script/bootstrap.py --target_arch=x64 --dev'
sh 'npm run lint' sh 'npm run lint'
sh 'script/build.py -c D' sh 'script/build.py -c D'
sh 'script/test.py --ci --rebuild_native_modules' sh 'script/test.py --ci --rebuild_native_modules'
} }
}
post { post {
always { always {
cleanWs() cleanWs()