Add a timeout to jenkinsfile
This commit is contained in:
parent
f76926786f
commit
549b23d68d
|
@ -5,6 +5,8 @@ properties([
|
||||||
pipelineTriggers([cron('H H/6 * * *')]),
|
pipelineTriggers([cron('H H/6 * * *')]),
|
||||||
])
|
])
|
||||||
|
|
||||||
|
timeout(20) {
|
||||||
|
|
||||||
node('docker') {
|
node('docker') {
|
||||||
deleteDir()
|
deleteDir()
|
||||||
|
|
||||||
|
@ -67,3 +69,5 @@ node('docker') {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue