TeamCity 2019.1 Agent build slow

I upgrade to 2019.1 version 

and my project is slow to build 

compare with last time is take 1mins ++ is done build, and now it take 3mins ++ to build

 

0
10 comments

How I can fix it ? 

thanks.

0

Hi, am I right that the only first build on the agent is slow?

Since 2019.1 TeamCity agents download tools which are required for builds on demand, i.e. while running the first build which uses the tool.

In general, it should speed up agents upgrade, as agents don't download unnecessary tools during the upgrade. Could you please verify it by looking in the build log? There should be a block named 'Updating tools for build' 

0

is NuGet make it ?

0

Hi, sorry, I was wrong - tools were downloaded rather quickly.

The one step that was quite long is 'Updating sources'. Could you try to use agent-side checkout (https://www.jetbrains.com/help/teamcity/2019.1/vcs-checkout-mode.html)  and check if it help?

0

is from here VCS Roots and change to Always checkout files on agent?

 

 

0

Yes, you can set it here

0

ok, let me try it.

0

Please sign in to leave a comment.