jenkinsci / jenkinsci/subversion-plugin

[JENKINS-26443] Checkout to root directory deletes ALL files in the directory

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


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

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

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.