jenkinsci / jenkinsci/subversion-plugin
[JENKINS-21563] Fail build when locked file.
- Dominant language
- Java
- Stars
- 131
- Forks
- 275
- Avg merge
- 12h 4m
- Merged PRs (30d)
- 6
Description
When cancelling a build during a update, the local copy often ends up locked.
The next build will throw the error "Workspace appear to be locked, so getting a fresh workspace" and re get the whole workspace. Neither the lock or the re syncing the whole workspace is ideal.
This patch at least stops the workspace being wiped and re syncing:
https://github.com/hudson3-plugins/subversion-plugin/commit/37ca9c134702878e6bb824dde108d63c6df043d8
---
Originally reported by dtreble, imported from: Fail build when locked file.
Raw content of original issue
When cancelling a build during a update, the local copy often ends up locked.
The next build will throw the error "Workspace appear to be locked, so getting a fresh workspace" and re get the whole workspace. Neither the lock or the re syncing the whole workspace is ideal.
This patch at least stops the workspace being wiped and re syncing:
https://github.com/hudson3-plugins/subversion-plugin/commit/37ca9c134702878e6bb824dde108d63c6df043d8
Contributor guide
Assessment
This issue has not been assessed yet.