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.
- is related to
-
JENKINS-4543 Manually uploaded plugins are incorrectly unpacked
- Resolved