jenkinsci / jenkinsci/subversion-plugin

[JENKINS-30727] Workspace corrupt after cancelling build during svn switch

Open
#1,309 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

Process:

My last build was for branch1.

I start a build for branch2.

I cancel my build during the svn switch to the new branch on the Windows 7 slave leaving me with a workspace of partial branch1 and partial branch2.

I start my branch2 build again.

Jenkins svn plugin thinks I have branch2 in my workspace so it does an update for the current timestamp. I still have a mix of branch1 and branch2, just updated.

My build is a mix of two different branches.

At first, it's not easy to see what's going on. It wasn't until I went into two different directory trees within that workspace that I did "svn info" and found that I was in two different branches.

---
Originally reported by kerrhome, imported from: Workspace corrupt after cancelling build during svn switch


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

Raw content of original issue

Process:
My last build was for branch1.
I start a build for branch2.
I cancel my build during the svn switch to the new branch on the Windows 7 slave leaving me with a workspace of partial branch1 and partial branch2.
I start my branch2 build again.
Jenkins svn plugin thinks I have branch2 in my workspace so it does an update for the current timestamp. I still have a mix of branch1 and branch2, just updated.
My build is a mix of two different branches.

At first, it's not easy to see what's going on. It wasn't until I went into two different directory trees within that workspace that I did "svn info" and found that I was in two different branches.

environment

```
Slave is Windows 7 x64

Master is Ubuntu 12.04
```

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.