[ https://issues.jenkins-ci.org/browse/JENKINS-12514?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Greg Allen reopened JENKINS-12514: ---------------------------------- not fixed on Windows in 1.456. Tried upgrading Subversion plugin from default 1.34 to latest 1.39 using plugin update page. new version gets downloaded and can be seen in the plugins directory. old ".bak" version of plugin is there too. However, on restart the newly downloaded subversion.jpi file seems to get overwritten, and the installed version is still 1.34. > .hpi versus .jpi causes inability to upgrade Subversion Plugin > -------------------------------------------------------------- > > Key: JENKINS-12514 > URL: https://issues.jenkins-ci.org/browse/JENKINS-12514 > Project: Jenkins > Issue Type: Bug > Components: update-center > Environment: Ubuntu 11.10, OpenJDK 1.6.0_23, Tomcat 7.0.21, Jenkins > 1.448 & 1.449 > Reporter: Charlie Huggard > Assignee: Kohsuke Kawaguchi > Priority: Blocker > > Reproduction: > $JENKINS_HOME/plugins: subversion (directory), subversion.hpi > 1) Open http://<root>/pluginManager. Update Subversion plugin from 1.34 -> > 1.37 using download now and install after restart button. > $JENKINS_HOME/plugins: subversion (directory), subversion.bak (1.34), > subversion.hpi.pinned, subversion.jpi (1.37) > 2) Restart Tomcat/Jenkins > $JENKINS_HOME/plugins: subversion (directory), subversion.bak (1.34), > subversion.hpi (1.34) subversion.hpi.pinned, subversion.jpi (1.37) > 3) PluginManager still reports old version > Should note that the logs report: > INFO: Ignoring /ci/jenkins-home/plugins/subversion.jpi because > /ci/jenkins-home/plugins/subversion.hpi is already loaded > Also the plugin is broken at this point with a NoClassDefFound on > org/tmatesoft/svn/core/SVNException > Clean State: > 1) /etc/init.d/tomcat7 stop > 2) cd $JENKINS_HOME/plugins > 3) rm subversion* > 4) /etc/init.d/tomcat7 start > Workaround: > 1) Restore clean state > 2) Update plugin > 3) Stop tomcat/jenkins > 4) cd $JENKINS_HOME/plugins > 5) mv subversion.jpi subversion.hpi > 6) Start tomcat/jenkins -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira