jenkinsci / jenkinsci/subversion-plugin
[JENKINS-26443] Checkout to root directory deletes ALL files in the directory
- Dominant language
- Java
- Stars
- 131
- Forks
- 275
- Avg merge
- 12h 4m
- Merged PRs (30d)
- 6
Description
When this plugin does a checkout (and on some occasions an update) it first deletes all files and folders in the checkout directory. The delete operation includes files and folders which are unrelated to the svn checkout.
This causes problems when checking out SonarQube scripts and when using local maven repositories in the workspace. Some maven tasks also require the checkout directory to be the same as the build location.
---
Originally reported by
drtaddei, imported from: Checkout to root directory deletes ALL files in the directory
Raw content of original issue
When this plugin does a checkout (and on some occasions an update) it first deletes all files and folders in the checkout directory. The delete operation includes files and folders which are unrelated to the svn checkout.
This causes problems when checking out SonarQube scripts and when using local maven repositories in the workspace. Some maven tasks also require the checkout directory to be the same as the build location.
- environment:
Jenkins 1.596, subversion-plugin 2.4.5
2 attachments
- [config.xml](https://issues.jenkins.io/secure/attachment/28387/config.xml)
- [log](https://issues.jenkins.io/secure/attachment/28386/log)
Contributor guide
Assessment
This issue has not been assessed yet.