Giter Site home page Giter Site logo

gearman-plugin-client's Introduction

gearman-plugin-client

A client to use with the [Jenkins Gearman plugin] (https://wiki.jenkins-ci.org/display/JENKINS/Gearman+Plugin).

Only works on Linux

Help

python gear_client.py --help

Usage

To run a build:

python gear_client.py -s MyGearmanSever --function=build:myProject

To run the same job multiple times (with parameters):

python gear_client.py -s MyGearmanSever --function=build:myProject --iterations=4 \
      --params='{"OFFLINE_NODE_WHEN_COMPLETE":"false","param1":"moon","param1":"sun"}'

To stop/abort a build:

python gear_client.py -s MyGearmanSever --function=stop:MyGearmanSever \
      --params='{"name":"myProject","number":"130"}'

To update the build description:

python gear_client.py -s MyGearmanSever --function=set_description:MyGearmanSever \
      --params='{"name":"myProject","number":"105","html_description":"<h1>My New Description</h1>"}'

To run a build and immediately set the slave offline:

python gear_client.py -s MyGearmanSever --function=build:myProject \
      --params='{"OFFLINE_NODE_WHEN_COMPLETE":"true"}'

gearman-plugin-client's People

Contributors

hashar avatar zaro0508 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

gearman-plugin-client's Issues

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.