Jenkins Plugin that checks resources before executing a build