Incremental builds take a very long time when the change causes a lot of modules to be built
Hello,
We're using TC8 and I recently enabled the incremental builds on one of our jobs.
For most changes this works great, but on changes where the root pom is changed the build time is way too long.
If I run a simple (non-incremental) build of the entire project, it takes ~20 minutes. But a change in the root pom (which also causes the entire project to be built), causes the build to take about 1 hour.
Help please...
Thanks,
Guy
Please sign in to leave a comment.
Please attach build logs for full build (which is 20 minutes) and incremental build for changes in root pom.xml (which is 1 hour)
Hello again,
It's a problem to attach the entire build logs, I fear I might expose something of my company's internal information.
However we did manage to discover this - it seems what's taking long is the computation of which modules should be built.
Attached are two screenshots - one from a short build and another from a long one, and here are some statistics:
Also worth mentioning - what cause this mass of dependencies in the long build is a change in the root pom.
Hope this helps, and if not let me know what's missing
Attachment(s):
short build.png
long build.png
I checked about 20 build results that took very long - all of them had a change in the root pom.
Anything?
I apologize for the delay in answering.
I have added the report to our issue tracker system: https://youtrack.jetbrains.com/issue/TW-42356
Please, watch/vote for it.
Thanks for the answer.
I have several questions:
Thanks,
Guy