Reputation: 4342
I was deleting some old builds from the build history in Jenkins. I was successful in deleting some. But all of a sudden I got a "Status Code: 500 Exception:Stacktrace: java.io.IOException: Unable to delete xx/builds/.2012-03-02_15-45-42/.nfs00000000000ac05d0002d96b"
Why would this happen? How do I delete these builds?
Upvotes: 0
Views: 3732
Reputation: 699
I had this problem with deleting the latest build. I just restarted jenkins: "jenkins_url"/restart
and it helped.
Upvotes: 2
Reputation: 16305
Why would this happen?
Looks like an NFS problem.
How do I delete these builds?
I'd try deleting it again.
Upvotes: 1
Reputation: 21130
Looks like your Jenkins build files are stored on a network file system which has snapshotting enabled. I ran into this problem on my Jenkins installation too; you should find that the job was either actually deleted successfully despite the error, or that you can retry the deletion and it will work the second time.
I'd recommend that you disable snapshotting and using some other method such as a regular rsync to back up your Jenkins build files.
Upvotes: 1