- For java examples look in github for the Gearman StartJob client java examples.
- The Gearman workers which were spawned by the Gearman Plugin will service any client request that come through to start and abort a Jenkins build.
Canceling Stopping/Cancelling a gearman/jenkins job:
- Any Gearman client can connect to the Gearman server and send a request to cancel stop a job.
- The job is cancelled stopped differently depending on the current state of the job. The table below explains the state, transitions and how cancellations happen.