jenkinsci/jenkins — pull request #724 by JoelJ (2013-03-01 17:44:20+00:00)
Title: Fixed Regression: NPE when checking if the executor is interrupted

29426012ce introduced an NPE.
If a build's project implements Queue.FlyweightTask, build.getExecutor() returns null.
This prevents any flyweight build from finishing successfully.