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'
How I can fix it ?
thanks.
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'
is NuGet make it ?
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?
is from here VCS Roots and change to Always checkout files on agent?
Yes, you can set it here
ok, let me try it.