Jenkins CLI, trouble installing plugin from local hpi

99 views
Skip to first unread message

James Richard

unread,
Jul 27, 2016, 5:29:11 PM7/27/16
to Jenkins Users
Using Jenkins 1.642.4, I installed an older version of my plugin from a local hpi using the Jenkins CLI and did a safe restart.  When I try to install a newer version from a local hpi using the Jenkins CLI, http://localhost:8080/pluginManager/installed still shows the older version is installed even after a safe restart.

James Richard

unread,
Jul 27, 2016, 7:36:39 PM7/27/16
to Jenkins Users
Manually uploading the files to the server works fine, I can upgrade/downgrade and install any specific version without trouble. There is only an issue when I use the Jenkins CLI

Daniel Beck

unread,
Aug 4, 2016, 5:02:52 AM8/4/16
to jenkins...@googlegroups.com

> On 28.07.2016, at 01:36, James Richard <jamesri...@gmail.com> wrote:
>
> Manually uploading the files to the server works fine, I can upgrade/downgrade and install any specific version without trouble. There is only an issue when I use the Jenkins CLI

Is that plugin bundled with Jenkins? If so, could be https://issues.jenkins-ci.org/browse/JENKINS-29726


niristotle okram

unread,
Aug 4, 2016, 3:56:51 PM8/4/16
to jenkins...@googlegroups.com
just curious - what is this "local hpi" ?



--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/495E43B9-0ADB-4458-AEF1-EAD7705CC905%40beckweb.net.
For more options, visit https://groups.google.com/d/optout.



--
Regards
nirish okram

James Richard

unread,
Aug 4, 2016, 4:09:10 PM8/4/16
to Jenkins Users
This is a plugin that I have created, it is not bundled with Jenkins.  And like I said, manually installing it, downgrading, uninstalling, etc. works fine when they are done manually but when using the Jenkins CLI it has the errors I described in the first comment.

When installing a plugin manually, it creates a {plugin-name}.bak file but when I use the CLI it creates a {plugin-name}-{version}.bak.  I assume this might be the cause of the issue

Daniel Beck

unread,
Aug 5, 2016, 8:15:30 AM8/5/16
to jenkins...@googlegroups.com

> On 04.08.2016, at 22:09, James Richard <jamesri...@gmail.com> wrote:
>
> This is a plugin that I have created, it is not bundled with Jenkins. And like I said, manually installing it, downgrading, uninstalling, etc. works fine when they are done manually but when using the Jenkins CLI it has the errors I described in the first comment.
>
> When installing a plugin manually, it creates a {plugin-name}.bak file but when I use the CLI it creates a {plugin-name}-{version}.bak. I assume this might be the cause of the issue

Please file a bug against core and cli and assign to me.

https://wiki.jenkins-ci.org/display/JENKINS/How+to+report+an+issue

Reply all
Reply to author
Forward
0 new messages