Giter VIP home page Giter VIP logo

windows-slaves-plugin's Introduction

WMI Windows Agents Plugin for Jenkins 

windows slaves windows slaves plugin windows slaves

Allows you to setup agents on Windows machines over Windows Management Instrumentation (WMI).

Usage

Once the plugin is installed, a new launch type is available in the agent configuration. Once the agent configuration is saved, Jenkins will reconnect the agent using the plugin.

configuration

How does it work?

This section goes into the details of how the managed Windows agent launcher actually works.

This launcher uses several protocols that has been around for a quite some time.

  • It first uses CIFS (also known as "Windows file share protocol") to push files into the agent. When used by someone with administrative privileges, Windows file shares expose what’s commonly known as "administrative shares", which are hidden exported directories that cover every drive in the system.

  • It then uses DCOM to talk to WMI to install and start a service remotely.

  • Jenkins uses two services, one is called Remote Communication Service and this provides a general-purpose remote command execution capability. Jenkins uses this to check if Java is available and if not install it. A failure to do this is not fatal problem, as Jenkins will proceed by assuming that Java is available in a reasonable place. This service is destroyed after it is used so as not to cause any harm to the security. The communication between Jenkins controller and this service happens over a named pipe, which itself is protected by access control.

  • Jenkins then installs the actual agent as a Windows service, by using the WMI over DCOM, then it starts this service.

Troubleshooting

Changelog

windows-slaves-plugin's People

Contributors

akrist avatar alecharp avatar andresrc avatar armfergom avatar batmat avatar cbdchang avatar clywyk avatar darxriggs avatar jglick avatar jsoref avatar magicalbob avatar mramonleon avatar oleg-nenashev avatar olivergondza avatar raul-arabaolaza avatar rsandell avatar twasyl avatar vlatombe avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.