Skip to content

Instantly share code, notes, and snippets.

View darelvc's full-sized avatar

Oleg Bloshenkin darelvc

  • Playtika Ltd
  • Ukraine, Vinnitsia
View GitHub Profile
@odavid
odavid / Jenkins-delete-lockable-resources
Created September 14, 2017 15:55
A short script to delete free locks from the lockable resources plugin
def manager = org.jenkins.plugins.lockableresources.LockableResourcesManager.get()
def resources = manager.getResources().findAll{
!it.locked
}
resources.each{
manager.getResources().remove(it)
}
manager.save()
Name: Flash
Serial: eNrzzU/OLi0odswsqnHLSSzOqDGoca7JKCkpsNLXLy8v1ytJTczVLUotKNFLzs8FAJHYETc=
if anyone wants to thank ETH: 0x527c2aB55b744D6167dc981576318af96ed26676
Thank you!