Retrieve the status of environment if any deployment is in progress

0
Hi Team, I have  implemented CICD pipeline for Mendix application using groovy script. One requirement to check whether two different deployments are in-progress of same application id or not. If any developer has started the deployment process, so other developer trying to deploy on same environment should not be allowed until 1st deployment job completes. Basically we are trying to avoid parallel execution of one CICD pipeline. Thanks!!  
asked
0 answers