Add a timeout to jenkinsfile

This commit is contained in:
Carlos Sanchez 2018-02-05 18:38:02 +01:00
parent f76926786f
commit 549b23d68d
1 changed files with 4 additions and 0 deletions

4
Jenkinsfile vendored
View File

@ -5,6 +5,8 @@ properties([
pipelineTriggers([cron('H H/6 * * *')]),
])
timeout(20) {
node('docker') {
deleteDir()
@ -67,3 +69,5 @@ node('docker') {
}
}
}
}