Update BuildResultTrigger.java

I think you don't support Folder plugin in runtime. Configuration site works perfecty with this line below, so can you fix this runtime class to support hierarchical jobs (Folder plugin).

PS. I'm not java expert, but I think this fix should be very easy.