Update build.gradle for Jenkins use