Q:

Unlock Jenkins Lockable Resources

Is there any way to unlock jenkins lockable resources through the groovy console? We think we rebooted our instance while a lock was held and now jobs are all stuck thinking the lock is held.

A:

Additional info:
The buttons at the page https://jenkins-url/jenkins/lockable-resources/ are only shown when the user has permissions to reserve and/or unlock lockable resources manually. These permissions are activated through at Jenkins page: Jenkins->Administration->Configure Global Security.

