The only time I have seen this is if the downstream job never actually starts…e.g. Groovy error. A job that fails a step will return a handle.
So I have never had to do defensive programming around this. I could always fix the problem.
--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/81ebeeb2-7249-447a-afe7-5ed01d4bd610%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.