Jenkins Workspace Delete Failures from Stale Lock Files: A Diagnostic Guide
Build fails with java.io.IOException: Unable to delete workspace due to a stale .lock left by an interrupted build. This guide shows how to confirm no active executor, locate the lock, safely remove it, verify cleanup, and escalate when locks persist.