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

Plugin Manager ยป Upload File misbehaves when filename not arttifactId.hpi

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • core

      Say you have someplugin installed at version 1.1, and you use Upload File to upload someplugin-1.2.hpi from your local Maven repository. doUploadPlugin will save $JENKINS_HOME/plugins/someplugin-1.2.jpi alongside the existing $JENKINS_HOME/plugins/someplugin.jpi, and will not create a $JENKINS_HOME/plugins/someplugin.jpi.pinned as expected, leading to a confused situation.

      Workaround is to locally rename the file to someplugin.hpi before uploading.

            jglick Jesse Glick
            jglick Jesse Glick
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: