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

provide an option to delete existing slaves with the same name

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • swarm-plugin
    • None

      In some use cases this might be useful.
      In our case we are working with Windows VMWare slaves that need to run as admin, there is no way to do this with ssh and DCOM doesn't work at all. I want to let the VMWare plugin create a slave with an empty master commando, so it comes on offline. The VMWare plugins then powers on a slave that starts the swarm client elavated through a scheduled task.
      Convoluted, yes, but this feature might also be useful for other people perhaps in simpler cases.

          [JENKINS-34593] provide an option to delete existing slaves with the same name

          Code changed in jenkins
          User: Nico Mommaerts
          Path:
          client/src/main/java/hudson/plugins/swarm/Options.java
          client/src/main/java/hudson/plugins/swarm/SwarmClient.java
          plugin/src/main/java/hudson/plugins/swarm/PluginImpl.java
          http://jenkins-ci.org/commit/swarm-plugin/63e43077c2a6bbd994574f618372e3963b2d49e9
          Log:
          JENKINS-34593 add an option to delete existing clients

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Nico Mommaerts Path: client/src/main/java/hudson/plugins/swarm/Options.java client/src/main/java/hudson/plugins/swarm/SwarmClient.java plugin/src/main/java/hudson/plugins/swarm/PluginImpl.java http://jenkins-ci.org/commit/swarm-plugin/63e43077c2a6bbd994574f618372e3963b2d49e9 Log: JENKINS-34593 add an option to delete existing clients

          Code changed in jenkins
          User: Peter Jönsson
          Path:
          client/src/main/java/hudson/plugins/swarm/Options.java
          client/src/main/java/hudson/plugins/swarm/SwarmClient.java
          plugin/src/main/java/hudson/plugins/swarm/PluginImpl.java
          http://jenkins-ci.org/commit/swarm-plugin/9a62abb48b68ef2447af387b9ad6b195bb33dce7
          Log:
          Merge pull request #40 from mrdfuse/JENKINS-34593

          JENKINS-34593 add an option to delete existing clients

          Compare: https://github.com/jenkinsci/swarm-plugin/compare/74f4bbf329eb...9a62abb48b68

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Peter Jönsson Path: client/src/main/java/hudson/plugins/swarm/Options.java client/src/main/java/hudson/plugins/swarm/SwarmClient.java plugin/src/main/java/hudson/plugins/swarm/PluginImpl.java http://jenkins-ci.org/commit/swarm-plugin/9a62abb48b68ef2447af387b9ad6b195bb33dce7 Log: Merge pull request #40 from mrdfuse/ JENKINS-34593 JENKINS-34593 add an option to delete existing clients Compare: https://github.com/jenkinsci/swarm-plugin/compare/74f4bbf329eb...9a62abb48b68

            mr_dfuse Nico Mommaerts
            mr_dfuse Nico Mommaerts
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: