Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disable concurrent builds to reduce memory usage
As described in the issue #1343 builds get killed by the OOM killer sometimes. Add lock('iis-build') to the build options to reduce memory usage whem multiple builds are triggered. As described eg. in https://issues.jenkins.io/browse/JENKINS-35359 the disableConcurrentBuilds option can only prevent concurrent builds of a single branch and using locks is the recommended workaround for serializing all the builds in a multibranch pipeline.
- Loading branch information