Add Build Timeout to Jenkinsfile (#1883)
This commit is contained in:
parent
ba78ad8c0b
commit
becc7617a6
@ -5,6 +5,9 @@ pipeline {
|
|||||||
args '-u root:root -v "/tmp/gomod":/go/pkg/mod'
|
args '-u root:root -v "/tmp/gomod":/go/pkg/mod'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
options {
|
||||||
|
timeout(time: 30, unit: 'MINUTES')
|
||||||
|
}
|
||||||
stages {
|
stages {
|
||||||
stage('Build') {
|
stage('Build') {
|
||||||
steps {
|
steps {
|
||||||
|
Loading…
Reference in New Issue
Block a user