Timeout the Jenkins build pipeline after 10 minutes.
This commit is contained in:
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@@ -9,6 +9,12 @@ def SUCCESS = hudson.model.Result.SUCCESS.toString()
|
||||
|
||||
currentBuild.result = SUCCESS
|
||||
|
||||
pipeline {
|
||||
options {
|
||||
timeout(time: 10, unit: 'MINUTES')
|
||||
}
|
||||
}
|
||||
|
||||
try {
|
||||
parallel check: {
|
||||
stage('Check') {
|
||||
|
||||
Reference in New Issue
Block a user