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

Evergreen client deletes should also remove the associated exploded plugin directories

XMLWordPrintable

    • Evergreen - Milestone 1, Evergreen - Milestone 2

      Problem statement

      Though I think removing the .hpi only should work, I think this is safer to also delete the corresponding exploded plugin directory under ${JENKINS_VAR}.

      ls -1Fd /evergreen/jenkins/*/*/docker-plugin*
      /evergreen/jenkins/home/plugins/docker-plugin.hpi
      /evergreen/jenkins/var/plugins/docker-plugin/ # this one should better be removed too
      

      Expected behavior

      For a plugin P, both the:

      • P.hpi file under $JENKINS_HOME/plugins/
      • and the P directory under $JENKINS_VAR/plugins

      Should be removed.

      So that we avoid any weird behaviour with Jenkins still picking up the exploded directory even if the hpi has been removed.

            asmith_cb Mandie Smith
            batmat Baptiste Mathus
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: