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

Unable to remove WMI Windows Agents plugin from workspace

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Minor Minor
    • windows-slaves-plugin
    • None
    • Jenkins version: 2.387, Ubuntu 20.04

      I am unable to completely remove the windows-slaves-plugin.  When I remove it either in the UI or within the linux environment, on restart, the plugin is back and re-enabled. These are the steps I used to reproduce the issue: (attached screenshots of each of the steps below)

      1. The alert in my Jenkins instance showed that this plugin is depreciated.
      2. In the plugin manager UI, I clicked the disable plugin toggle.
      3. I get the warning that I'm uninstalling the agents plugin, which I select yes.
      4. I then click the restart once no jobs are running button in the UI
      5. After restart I see the plugin is back and enabled.

      I also repeated the steps above on the command line by doing the following:

      1. Disable the plugin in the UI
      2. Stop jenkins in linux
      sudo systemctl stop jenkins.service
      
      1. I removed the plugins.  
        rm -rf window-slaves.jpi
        rm -rf windows-slaves.jpi-disabled
        rm -rf windows-slaves (the directory)
        
      1. Restart Jenkins
      2. windows-slaves plugin is back and running again

        1. step1.png
          step1.png
          33 kB
        2. step2.png
          step2.png
          49 kB
        3. step3.png
          step3.png
          33 kB
        4. step4.png
          step4.png
          12 kB
        5. step5.png
          step5.png
          49 kB

            Unassigned Unassigned
            tbarnes Tadd
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: