Skip to content

Commit

Permalink
KOGITO-3863 Setup timeout to pipelines (#289)
Browse files Browse the repository at this point in the history
  • Loading branch information
radtriste authored Dec 18, 2020
1 parent 8498777 commit 3ed0934
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ pipeline{
tools {
jdk 'kie-jdk11'
}
options {
timeout(time: 120, unit: 'MINUTES')
}
environment {
CI = true
}
Expand Down
1 change: 1 addition & 0 deletions Jenkinsfile.deploy
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ pipeline {

options {
buildDiscarder logRotator(artifactDaysToKeepStr: '', artifactNumToKeepStr: '', daysToKeepStr: '', numToKeepStr: '10')
timeout(time: 120, unit: 'MINUTES')
}

parameters {
Expand Down
1 change: 1 addition & 0 deletions Jenkinsfile.promote
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ pipeline {

options {
buildDiscarder logRotator(artifactDaysToKeepStr: '', artifactNumToKeepStr: '', daysToKeepStr: '', numToKeepStr: '10')
timeout(time: 120, unit: 'MINUTES')
}

parameters {
Expand Down

0 comments on commit 3ed0934

Please sign in to comment.