gearman-plugin/src
Khai Do fa5f0834ff Fix job result not being sent back to gearman client
This fixes a bug that causes the result object to be left off of the
returned data packet after a job finishes executing.  This only occurs
when the job request sets the node to temporary offline (i.e.
"OFFLINE_NODE_WHEN_COMPLETE":"true").  The problem is that the
ComputerListener.onTemporaryOffline event was stopping the
gearman worker which causes a disconnect to the gearman client thus
not being able to send back the results for the job.  The worker should
not stop on a temporary offline, only on disconnect and delete of a node.
The fix is to only re-register the gearman functions instead of stopping
the workers on a temporary online/offline of a node.

Change-Id: Icf672acf059d6cb0e16a6685d637824c678ea5be
2014-10-21 15:14:20 -07:00
..
main Fix job result not being sent back to gearman client 2014-10-21 15:14:20 -07:00
test/java/hudson/plugins/gearman update to work with Jenkins LTS ver 1.565.3 2014-10-15 14:21:08 -07:00