jenkinsci / jenkinsci/subversion-plugin

[JENKINS-21563] Fail build when locked file.

Open
#1,091 0 comments 0 reactions 0 assignees View on GitHub
component:subversion-plugin imported-jira-issue priority:minor resolution:unresolved
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.


  • status: Open
  • priority: Minor
  • component(s): subversion-plugin
  • resolution: Unresolved
  • votes: 1
  • watchers: 1
  • imported: 20251212-090250

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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.