Add debug to Gradle script for Jenkins