My pipeline consists of several exclusive sections like this, which should never be executed in parallel:
This worked perfectly fine with lockable-resources-plugin 1.10.
However with version 1.11 the locking does not work properly anymore.
It happens that two builds are running the integration tests in parallel,
although this should not be possible given the above configuration.
Whenever this happens I have a look at the http://<jenkins>/lockable-resources overview.
It shows that the resource is locked by only one build, although two builds are just concurrently executing the integration tests.
I am afraid it has to do with the recently implemented features:
JENKINS-34268- lock multiple resources concurrently JENKINS-34273- add the number of resources lo lock from a given label
Since I consider this a bug and regression, I changed the priority to critical.