Skip to content

Commit

Permalink
Disable concurrent builds to reduce memory usage
Browse files Browse the repository at this point in the history
As described in the issue #1343 builds get killed by the OOM killer
sometimes.

Add disableConcurrentBuilds to the build options to reduce
memory usage whem multiple builds are triggered.
  • Loading branch information
mpol committed Apr 25, 2022
1 parent 6b057f9 commit c62add1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Jenkinsfile.dockerized
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ pipeline {
options {
buildDiscarder(logRotator(numToKeepStr: '5'))
timeout time: 60, unit: 'MINUTES'
disableConcurrentBuilds()
}

environment {
Expand Down

0 comments on commit c62add1

Please sign in to comment.