TeamCity jobs' execution time vary a lot
Hello,
We have several jobs (mainly containing Gradle tasks) and their execution time (excluding checkout time) vary in a very wide range (10-60 minutes).
What could be the factors that affect this fluctuation?
Please sign in to leave a comment.
Hi! The factors include:
You can use the Compare Builds feature to check the differences in build agents, code revisions, parameters, etc.
Additionally, inspecting the full build log (Build Log page > Download log > select Full build log) will help identify the exact stages that took longer in one build than in another. Knowing what those stages are may be useful in pinpointing the root cause.