jenkinsci / jenkinsci/subversion-plugin
[JENKINS-30727] Workspace corrupt after cancelling build during svn switch
- 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
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
Assessment
This issue has not been assessed yet.