I'm wondering if anybody could assist in something I've potentially set up incorrectly, as I've not been using TeamCity for long at all.
I'm using version 6.5.6 (build 18130) and am having an issue with very slow artifact dependency resolution.
Here's the log of the job:
[11:54:32]: Skip checking for changes - changes are already collected
[11:54:37]: Clearing temporary directory: C:\BuildAgent\temp\buildTmp
[11:54:37]: Checkout directory: C:\BuildAgent\work\7d9fb3b885c52763
[11:54:37]: Updating sources: server side checkout...
[11:54:33]: [Updating sources: server side checkout...] Building incremental patch for VCS root: BlitzSDK svn
[11:54:37]: [Updating sources: server side checkout...] Repository sources transferred: 14.18Kb total
[11:54:37]: [Updating sources: server side checkout...] Updating C:\BuildAgent\work\7d9fb3b885c52763
[11:54:37]: Resolving artifact dependencies (22m:16s)
[11:54:38]: [Resolving artifact dependencies] Destination directory cleaned: C:\BuildAgent\work\7d9fb3b885c52763\Bin\win32\Optimised
[12:16:54]: [Resolving artifact dependencies] 204 files retrieved for [EditorExes*.zip!**] downloading pattern
[12:16:54]: Publishing internal artifacts
[12:16:54]: [Publishing internal artifacts] Sending build.start.properties.gz file
[12:16:54]: Step 1/2: Prepare Machine For Build (Command Line)
The step this relies on artifacts it packages into a single zip file as follows:
Bin/win32/Optimised/*.* => EditorExes-%system.build.number%.zip
And then for the current job I extract the zip to the desired folder:
EditorExes*.zip!** to %teamcity.build.checkoutDir%/Bin/win32/Optimised
This particular example is cleaning the directory beforehand (as I suspected this was affecting the extraction time)
The zip file itself is rather small, roughly 280MB.
Also, the folder being cleaned is roughly 1GB.
I don't have any examples of the artifact dependency without a dir clean, as the few times it ran it took a long time, and wasn't able to be 'stopped' and forced a server machine restart to clean the build queue.
Is there anything obviously wrong with this setup?
Should the cleanup be required or will the zip extraction simply overwrite any files in the directory?