Implementing a DevOps Pipeline in Jenkins with concurrent builds

Implementing a DevOps Pipeline in Jenkins with concurrent builds

In this article we will see how to implement a DevOps pipeline with Jenkins that can handle concurrent builds. Some stages of a ┬ápipeline require resources that can only be used by one build at a time. For example we might have a single test or staging environment. Instead of limiting the number of concurrent builds of our pipeline we will marshal the access to resources with the “lock” functionality.