Given a build using Exclusion plugin and the following the build steps defined:
-Critical block start
-My build steps. In my example I'm using Trigger plugin to trigger others jobs.
-Critical block end
When one of the build steps fails, critical block end is not being executed and the resource still locked.
An another attempt was trying to remove Critical block end, since plugin's documentation says if there's no Critical block end, the resource release will always be executed. I tried without success.