gearman-plugin/src/main/java/hudson/plugins/gearman
James E. Blair 4556818799 Report exceptions while running the job to the client.
Don't catch any exceptions while running the job; instead, report
them back to the client (via a catch-all exception handler in
StartJobWorker).

If the worker raises an exception, unlock the node monitor, in case
the worker didn't get to the point where it would be unlocked.

This change has the side effect that if the gearman server disconnects
while the job is running, the worker should return from watching the
job run (as soon as it notices, currently up to 5 seconds).  This is
helpful in that it will be available to register with gearman again,
including sending CAN_DO packets.  But the node monitor will still
prevent it from scheduling a new job while the one it started earlier
is still running.

Change-Id: Ie01ef0f9e706d81452b189099e36242ab9967950
2013-06-14 15:23:07 -07:00
..
example add example java client 2013-03-19 10:56:41 -07:00
AbstractWorkerThread.java Handle mutex scheduling from Gearman or Jenkins. 2013-06-13 12:42:51 -07:00
AvailabilityMonitor.java Handle mutex scheduling from Gearman or Jenkins. 2013-06-13 12:42:51 -07:00
ComputerListenerImpl.java always run management worker 2013-06-11 15:18:04 -07:00
Constants.java always run management worker 2013-06-11 15:18:04 -07:00
CustomGearmanFunctionFactory.java Handle mutex scheduling from Gearman or Jenkins. 2013-06-13 12:42:51 -07:00
ExecutorWorkerThread.java Handle mutex scheduling from Gearman or Jenkins. 2013-06-13 12:42:51 -07:00
GearmanPluginConfig.java fix for bug 1162887 2013-05-01 10:20:45 -07:00
GearmanPluginUtil.java Update zuul-gearman protocol. 2013-06-06 15:40:01 -07:00
GearmanProxy.java Handle mutex scheduling from Gearman or Jenkins. 2013-06-13 12:42:51 -07:00
ManagementWorkerThread.java Handle mutex scheduling from Gearman or Jenkins. 2013-06-13 12:42:51 -07:00
MyGearmanWorkerImpl.java Report exceptions while running the job to the client. 2013-06-14 15:23:07 -07:00
NodeAssignmentAction.java Add comments, decouple build actions, and cancel jobs. 2013-02-08 15:56:31 -08:00
NodeAvailabilityMonitor.java Handle mutex scheduling from Gearman or Jenkins. 2013-06-13 12:42:51 -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 fix for bug 1162887 2013-05-01 10:20:45 -07:00
SetDescriptionWorker.java Fix build description permission error. 2013-06-07 10:53:43 -07:00
StartJobWorker.java Report exceptions while running the job to the client. 2013-06-14 15:23:07 -07:00
StopJobWorker.java Update zuul-gearman protocol. 2013-06-06 15:40:01 -07:00