jenkinsci / jenkinsci/cloudbees-folder-plugin

[JENKINS-20007] Folder rename fails when mandatory file lock held on old location

Open
#559 0 comments 0 reactions 0 assignees View on GitHub
component:cloudbees-folder-plugin imported-jira-issue priority:major resolution:unresolved
Dominant language
Java
Stars
59
Forks
117
PR merge metrics
No merged PRs in 30d

Description

On Windows:


  • Create a new Folder_X

  • Move a job to Folder_X

  • On the Jenkins host, open an Explorer window and navigate into the Folder_X\jobs directory

  • Rename Folder_X to Folder_Y (using the Jenkins GUI)

The result is that the Folder_X directory is deleted and the Folder_Y directory is not created, resulting in the loss of the folder and its jobs. Only reproducible when the directory is open in Explorer.

---
Originally reported by jglick, imported from: Folder rename fails when mandatory file lock held on old location


  • assignee: jglick
  • status: Open
  • priority: Major
  • component(s): cloudbees-folder-plugin
  • resolution: Unresolved
  • votes: 0
  • watchers: 2
  • imported: 20251211-141027

Raw content of original issue

On Windows:


  • Create a new Folder_X

  • Move a job to Folder_X

  • On the Jenkins host, open an Explorer window and navigate into the Folder_X\jobs directory

  • Rename Folder_X to Folder_Y (using the Jenkins GUI)

The result is that the Folder_X directory is deleted and the Folder_Y directory is not created, resulting in the loss of the folder and its jobs. Only reproducible when the directory is open in Explorer.

  • environment: (originally RM-1577)

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.