Try adding a timeout to the Jenkinsfile (#2378)

This commit is contained in:
Misty Stanley-Jones 2017-03-17 12:55:41 -07:00 committed by GitHub
parent ab5bb499cd
commit ff1f8b34be
1 changed files with 21 additions and 19 deletions

2
Jenkinsfile vendored
View File

@ -1,4 +1,5 @@
wrappedNode(label: 'linux && x86_64') {
timeout(time: 60, unit: 'MINUTES') {
deleteDir()
stage "checkout"
checkout scm
@ -21,3 +22,4 @@ wrappedNode(label: 'linux && x86_64') {
sh "docker rmi docs:${JOB_BASE_NAME}-${BUILD_NUMBER} tests:${JOB_BASE_NAME}-${BUILD_NUMBER}"
deleteDir()
}
}