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

Jenkins CLI trouble installing plugin hpi

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • cli, core
    • None

      Using Jenkins 1.642.4, I installed an older version of my plugin from a hpi file using the Jenkins CLI and did a safe restart. When I try to install a newer version of the same plugin using the Jenkins CLI, http://localhost:8080/pluginManager/installed still shows the older version is installed even after a safe restart.

      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

      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

            danielbeck Daniel Beck
            jrichard James Richard
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: