How do I prevent two pipeline jenkins jobs of the same type to run in parallel on the same node?

The answer provided in https://stackoverflow.com/a/43963315/6839445 is deprecated.

The current method to disable concurrent builds is to set options:

options { disableConcurrentBuilds() }

Detailed description is available here:
https://jenkins.io/doc/book/pipeline/syntax/#options

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)