• 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

          [JENKINS-37212] Jenkins CLI trouble installing plugin hpi

          James Richard created issue -
          James Richard made changes -
          Description Original: 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
          New: 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 {noformat}{plugin-name}.bak{noformat} file but when I use the CLI it creates a {noformat}{plugin-name}-{version}.bak{noformat}. I assume this might be the cause of the issue
          James Richard made changes -
          Description Original: 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 {noformat}{plugin-name}.bak{noformat} file but when I use the CLI it creates a {noformat}{plugin-name}-{version}.bak{noformat}. I assume this might be the cause of the issue
          New: 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 {noformat}{plugin-name}.bak{noformat} file but when I use the CLI it creates a {noformat}{plugin-name}-{version}.bak{noformat} I assume this might be the cause of the issue
          James Richard made changes -
          Resolution New: Not A Defect [ 7 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Daniel Beck made changes -
          Resolution Original: Not A Defect [ 7 ]
          Status Original: Resolved [ 5 ] New: Reopened [ 4 ]
          Daniel Beck made changes -
          Status Original: Reopened [ 4 ] New: Open [ 1 ]
          Daniel Beck made changes -
          Link New: This issue duplicates JENKINS-32358 [ JENKINS-32358 ]
          Daniel Beck made changes -
          Resolution New: Duplicate [ 3 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]

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

              Created:
              Updated:
              Resolved: