jenkinsci / jenkinsci/subversion-plugin

[JENKINS-22240] Workspace folder not renamed/deleted when renaming job

Open
#1,123 3 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 renaming a (Maven) job, the old workspace folder on disk is left unchanged. On the next build a new workspace folder (with the new job name) is created, leaving the old one as a leftover which has to be removed manually by logging onto the server.

I think that the workspace folder should be renamed as well, or deleted (and then re-created on the next build).

---
Originally reported by ahammar, imported from: Workspace folder not renamed/deleted when renaming job


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

Raw content of original issue

When renaming a (Maven) job, the old workspace folder on disk is left unchanged. On the next build a new workspace folder (with the new job name) is created, leaving the old one as a leftover which has to be removed manually by logging onto the server.
I think that the workspace folder should be renamed as well, or deleted (and then re-created on the next build).

environment

```
Jenkins LTS 1.532.2 with Svn plugin 2.2

Windows Server 2008 SR2 with Oracle JDK 1.7.0_25
```

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.