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

Shelve Project plugin does not correctly handle shelvedProjects symbolic link

    Details

    • Type: Bug
    • Status: In Review (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Component/s: shelve-project-plugin
    • Labels:
      None
    • Environment:
      Shelve Plugin 2.2, Jenkins 2.150.1, OSX
    • Similar Issues:

      Description

      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.

        Attachments

          Issue Links

            Activity

            Hide
            pierrebtz 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.

            Show
            pierrebtz 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.
            Hide
            pierrebtz 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

            Show
            pierrebtz 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

              People

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

                Dates

                • Created:
                  Updated: