Add debugging information to help diagnose failures in Jenkins