[
https://issues.jenkins-ci.org/browse/JENKINS-12583?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=160271#comment-160271
]
Vince McIntyre edited comment on JENKINS-12583 at 3/15/12 5:04 AM:
-------------------------------------------------------------------
A comment. In 1.455 (installed via the .deb package) the .war contains
references to .hpi files, but the pinning stuff only works properly with .jpi
files.
{code}
% unzip -l /usr/share/jenkins/jenkins.war|grep hpi|awk '{print $NF}'
WEB-INF/plugins/ssh-slaves.hpi
WEB-INF/plugins/javadoc.hpi
WEB-INF/plugins/cvs.hpi
WEB-INF/plugins/translation.hpi
WEB-INF/plugins/ant.hpi
WEB-INF/plugins/maven-plugin.hpi
WEB-INF/plugins/subversion.hpi
{code}
{code}
% find /var/lib/jenkins/ -name "*.hpi*"
%
% find /var/lib/jenkins/ -name "*.pinn*"
/var/lib/jenkins/plugins/cvs.jpi.pinned
/var/lib/jenkins/plugins/subversion.jpi.pinned
%
{code}
was (Author: xipmix):
A comment. In 1.455 the .war contains references to .hpi files, but the
pinning stuff only works properly with .jpi files.
{code}
% unzip -l /usr/share/jenkins/jenkins.war|grep hpi|awk '{print $NF}'
WEB-INF/plugins/ssh-slaves.hpi
WEB-INF/plugins/javadoc.hpi
WEB-INF/plugins/cvs.hpi
WEB-INF/plugins/translation.hpi
WEB-INF/plugins/ant.hpi
WEB-INF/plugins/maven-plugin.hpi
WEB-INF/plugins/subversion.hpi
{code}
{code}
% find /var/lib/jenkins/ -name "*.hpi*"
%
% find /var/lib/jenkins/ -name "*.pinn*"
/var/lib/jenkins/plugins/cvs.jpi.pinned
/var/lib/jenkins/plugins/subversion.jpi.pinned
%
{code}
> update for cvs plugin to 2.0 doesn't work
> -----------------------------------------
>
> Key: JENKINS-12583
> URL: https://issues.jenkins-ci.org/browse/JENKINS-12583
> Project: Jenkins
> Issue Type: Bug
> Components: cvs
> Affects Versions: current
> Environment: jenkins 1.449, cvs plugin 1.6
> Reporter: Alex Lehmann
> Assignee: Alex Lehmann
> Fix For: current
>
>
> I tried to update to the cvs plugin 2.0 today but this doesn't work, I assume
> there is a name problem due to the extension *.jpi on the new plugin.
> Before update, the file is called cvs.hpi, the update process creates a new
> file cvs.jpi that is ignored with the following message:
> Jan 30, 2012 5:04:26 PM hudson.PluginManager$1$3$1 isDuplicate
> INFO: Ignoring /home/lehmann/.jenkins/plugins/cvs.jpi because
> /home/lehmann/.jenkins/plugins/cvs.hpi is already loaded
> I assume it may work if it were the other way around.
> The version displayed by the plugin page remains 1.6 but there are a few
> exceptions in the log about missing classes like this
> java.lang.NoClassDefFoundError: org/netbeans/lib/cvsclient/admin/AdminHandler
> these classes are included in the cvs.jpi zip but that is not used.
> I was able to fix the update manually by copying cvs.jpi to cvs.hpi, which
> resulted in a pinned plugin 2.0, but the automatic process has to be fixed
> somehow.
--
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