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

Manually uploaded plugins are incorrectly unpacked

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      If you upload foo-1.0.hpi, then later upload foo-1.1.hpi, work/plugins contains

      foo-1.0
      foo-1.0.hpi
      foo-1.1
      foo-1.1.hpi

      and Hudson thinks both foo 1.0 and foo 1.1 are installed at the same time,
      causing mayhem.

      Plugins should be unpacked into a directory based on their extension-name or
      short-name or something like this, so that manually uploading a new version of
      the plugin will remove the previous version.

        Attachments

          Issue Links

            Activity

            Hide
            jglick Jesse Glick added a comment -

            Workaround is to always ensure when using the Upload button that you are selecting a file named pluginShortName.hpi.

            Show
            jglick Jesse Glick added a comment - Workaround is to always ensure when using the Upload button that you are selecting a file named pluginShortName.hpi .
            Hide
            danielbeck Daniel Beck added a comment -

            Shouldn't this be fixed before loading plugins as well, to prevent manual edits of the plugins directory from causing similar issues?

            Show
            danielbeck Daniel Beck added a comment - Shouldn't this be fixed before loading plugins as well, to prevent manual edits of the plugins directory from causing similar issues?
            Hide
            jglick Jesse Glick added a comment -

            @danielbeck: that would be a reasonable RFE, though much lower priority I think since if you are manually rearranging the plugins directory it is assumed you know what you are doing.

            Show
            jglick Jesse Glick added a comment - @danielbeck: that would be a reasonable RFE, though much lower priority I think since if you are manually rearranging the plugins directory it is assumed you know what you are doing.
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Jesse Glick
            Path:
            changelog.html
            http://jenkins-ci.org/commit/jenkins/51765382e861355037600d9fc63d4aadedf5d7b1
            Log:
            JENKINS-4543 Noting retroactively.

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: changelog.html http://jenkins-ci.org/commit/jenkins/51765382e861355037600d9fc63d4aadedf5d7b1 Log: JENKINS-4543 Noting retroactively.
            Hide
            dogfood dogfood added a comment -

            Integrated in jenkins_main_trunk #3104
            JENKINS-4543 Noting retroactively. (Revision 51765382e861355037600d9fc63d4aadedf5d7b1)

            Result = UNSTABLE
            Jesse Glick : 51765382e861355037600d9fc63d4aadedf5d7b1
            Files :

            • changelog.html
            Show
            dogfood dogfood added a comment - Integrated in jenkins_main_trunk #3104 JENKINS-4543 Noting retroactively. (Revision 51765382e861355037600d9fc63d4aadedf5d7b1) Result = UNSTABLE Jesse Glick : 51765382e861355037600d9fc63d4aadedf5d7b1 Files : changelog.html

              People

              • Assignee:
                Unassigned
                Reporter:
                jglick Jesse Glick
              • Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: