gearman-plugin/src/main/java/hudson/plugins/gearman
Khai Do 6307ba2225 update to work with Jenkins LTS ver 1.565.3
This change updates the gearman-plugin to build against Jenkins LTS
ver 1.565.3.  This is required to support later versions of Jenkins
because there have been changes to Jenkins events in core.

This change adds the ItemListener to re-register gearman
functions on changes to jenkins projects.  Using the ItemListener is
better because it provides more details on the item that's been
changed and the events are more grandular.  There was also a change
to ComputerListener events (onTemporaryOffline and onTemporaryOnline)
that needed to be handled seperately in this change.  The SaveableListener
is still needed due to a bug in ItemListener.

The most notable change to function registration is that the gearman
plugin will no longer register functions containing a node's self label.

For example:
Assume you have the following setup:
  a node: named 'trusty-slave1' and labeled 'trusty'
  a job: named 'my-job' that targets the 'trusty' label

The gearman plugin used to register the following functions:
'build:my-job', 'build:my-job:trusty' and
'build:my-job:trusty-slave1'

With this update the gearman plugin will only register
'build:my-job' and 'build:my-job:trusty'.  It will no
longer register functions containing the implicit
node name (trusty-slave1).

If your gearman client has been using explicit labels
to execute builds then this change will not affect
your workflow.

Closes-Bug: #1353891
Change-Id: I9e57ec9f24bf303989a4df1fc4f1a0c4b6d001bc
2014-10-15 14:21:08 -07:00
..
example moved python examples to jenkins wiki 2013-08-11 07:20:24 -07:00
AbstractWorkerThread.java Don't wait for the worker thread to join 2013-08-16 12:55:37 -07:00
AvailabilityMonitor.java Don't catch InterruptedException in the node monitor. 2013-06-14 15:24:12 -07:00
ComputerListenerImpl.java update to work with Jenkins LTS ver 1.565.3 2014-10-15 14:21:08 -07:00
Constants.java always run management worker 2013-06-11 15:18:04 -07:00
CustomGearmanFunctionFactory.java Rework starting/stopping executors 2013-08-13 11:31:50 -07:00
ExecutorWorkerThread.java Fix project-node registration 2014-06-20 12:16:46 -07:00
GearmanPluginConfig.java fix for bug 1162887 2013-05-01 10:20:45 -07:00
GearmanPluginUtil.java Rework starting/stopping executors 2013-08-13 11:31:50 -07:00
GearmanProxy.java Use more fine-grained synchronization in GearmanProxy 2013-08-14 14:50:14 -07:00
ItemListenerImpl.java update to work with Jenkins LTS ver 1.565.3 2014-10-15 14:21:08 -07:00
ManagementWorkerThread.java Use more fine-grained synchronization in GearmanProxy 2013-08-14 14:50:14 -07:00
MyGearmanWorkerImpl.java Add OFFLINE_NODE_WHEN_COMPLETE option 2013-08-06 11:09:14 -07:00
NodeAssignmentAction.java Add comments, decouple build actions, and cancel jobs. 2013-02-08 15:56:31 -08:00
NodeAvailabilityMonitor.java Rework starting/stopping executors 2013-08-13 11:31:50 -07:00
NodeParametersAction.java Add comments, decouple build actions, and cancel jobs. 2013-02-08 15:56:31 -08:00
NoopAvailabilityMonitor.java Handle mutex scheduling from Gearman or Jenkins. 2013-06-13 12:42:51 -07:00
QueueTaskDispatcherImpl.java Handle mutex scheduling from Gearman or Jenkins. 2013-06-13 12:42:51 -07:00
RunListenerImpl.java Handle mutex scheduling from Gearman or Jenkins. 2013-06-13 12:42:51 -07:00
SaveableListenerImpl.java update to work with Jenkins LTS ver 1.565.3 2014-10-15 14:21:08 -07:00
SetDescriptionWorker.java Fix build description permission error. 2013-06-07 10:53:43 -07:00
StartJobWorker.java Set a node offline even if there is an exception 2013-09-25 11:04:31 -07:00
StopJobWorker.java Update zuul-gearman protocol. 2013-06-06 15:40:01 -07:00