Hi, I have problem and I have finished with ideas where is problem.
I have shared libraries which build our android appliaction, everything works. But when project uses kotlin and aapt cruncher, cruncher works very slow. My build's timouts after one hour. When I use the same project with Scripted Pipeline, Freestyle Job, or disable cruncher everything works ok, but not in shared libraries. How can I find cause of this problem ? I tried read logs, debug gradle, etc. My example library looks like this: def call(body) { // evaluate the body block, and collect configuration into the object def config = [:] body.resolveStrategy = Closure.DELEGATE_FIRST body.delegate = config body() timeout(60) { node("${config.nodeLabel}") { stage("Static analysis") { deleteDir() unstash "workspace" wrap([$class: "AnsiColorBuildWrapper", "colorMapName": "VGA"]) { withEnv(["GRADLE_USER_HOME=${env.WORKSPACE}/.gradle"]) { sh "chmod +x gradlew" sh "./gradlew --info --full-stacktrace --refresh-dependencies --continue -PversionCode=${env.BUILD_NUMBER} clean ${config.gradleTasks}" } } } } } -- 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-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/993b1979-1d18-4528-bd25-85de9a4036ef%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.