jenkins: add timeout to builds

This commit is contained in:
Frédéric Péters 2019-12-18 13:54:02 +01:00
parent ec483fae00
commit ac3b6c3d10
1 changed files with 4 additions and 1 deletions

5
Jenkinsfile vendored
View File

@ -2,7 +2,10 @@
pipeline {
agent any
options { disableConcurrentBuilds() }
options {
disableConcurrentBuilds()
timeout(time: 10, unit: 'MINUTES')
}
stages {
stage('Unit Tests') {
steps {