mirror of https://github.com/docker/docs.git
Try adding a timeout to the Jenkinsfile (#2378)
This commit is contained in:
parent
ab5bb499cd
commit
ff1f8b34be
|
@ -1,4 +1,5 @@
|
||||||
wrappedNode(label: 'linux && x86_64') {
|
wrappedNode(label: 'linux && x86_64') {
|
||||||
|
timeout(time: 60, unit: 'MINUTES') {
|
||||||
deleteDir()
|
deleteDir()
|
||||||
stage "checkout"
|
stage "checkout"
|
||||||
checkout scm
|
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}"
|
sh "docker rmi docs:${JOB_BASE_NAME}-${BUILD_NUMBER} tests:${JOB_BASE_NAME}-${BUILD_NUMBER}"
|
||||||
deleteDir()
|
deleteDir()
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue