Add logging to diagnose Jenkins failure