Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-55382

Shelve Project plugin does not correctly handle shelvedProjects symbolic link

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • shelve-project-plugin
    • Shelve Plugin 2.2, Jenkins 2.150.1, OSX

      If shelveProjects is a symbolic link, plugin can shelve projects, but cannot list, unshelve, or delete shelved projects. This worked correctly in v1.5. Since we unshelve only rarely, the workaround I'm recommending is to continue to shelve using the link, when unshelve is needed, set the link aside, copy the project to be unshelved into a real shelvedProjects directory, proceed with unshelve, then restore the link. Alternatively to restoring the original behavior, it would be useful to make the shelve directory a configurable parameter.

          [JENKINS-55382] Shelve Project plugin does not correctly handle shelvedProjects symbolic link

          Ross Oliver created issue -

          Pierre Beitz added a comment -

          ross_oliver I confirm I reproduced the issue, it appeared in version 2.0 of the plugin, I'll need some time to dig into it.

          Pierre Beitz added a comment - ross_oliver I confirm I reproduced the issue, it appeared in version 2.0 of the plugin, I'll need some time to dig into it.
          Pierre Beitz made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Pierre Beitz made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]

          Pierre Beitz added a comment -

          ross_oliver I made a fix for this issue. Here is the link to the hpi containing the fix in case you wish to test:  

           

          https://ci.jenkins.io/job/Plugins/job/shelve-project-plugin/view/change-requests/job/PR-20/1/artifact/target/shelve-project-plugin.hpi

          Pierre Beitz added a comment - ross_oliver I made a fix for this issue. Here is the link to the hpi containing the fix in case you wish to test:     https://ci.jenkins.io/job/Plugins/job/shelve-project-plugin/view/change-requests/job/PR-20/1/artifact/target/shelve-project-plugin.hpi
          Pierre Beitz made changes -
          Remote Link New: This issue links to "PR#20 (Web Link)" [ 23237 ]
          Pierre Beitz made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Review [ 10005 ] New: Resolved [ 5 ]
          Pierre Beitz made changes -
          Labels New: 2.5-fixed

            pierrebtz Pierre Beitz
            ross_oliver Ross Oliver
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: