Resolution of artifact dependencies takes loooong time
Hi,
I'm using TC 6.0.2 and resolution of artifact dependencies takes long time. It doesn't seem to matter if artifacts are local to the build.
Is there a way to speed it up? Can I enable some kind of "zip artifacts" mode? Ideally this would be completely transpartent to the build configurations so I don't have to zip/unzip
explicitly as part of my build process.
[14:17:56]: Skip checking for changes - changes are already collected
[14:17:55]: Clean build enabled: removing old files from C:\BuildAgent\work\12eb1dfb595d0685
[14:17:55]: Clearing temporary directory: C:\BuildAgent\temp\buildTmp
[14:17:55]: Checkout directory: C:\BuildAgent\work\12eb1dfb595d0685
[14:17:55]: Resolving artifact dependencies (3m:37s)
[14:17:55]: [Resolving artifact dependencies] Destination directory cleaned: C:\BuildAgent\work\12eb1dfb595d0685
[14:21:25]: [Resolving artifact dependencies] Artifact src\asdfsadf
Thanks
Pawel
[14:17:55]: Clean build enabled: removing old files from C:\BuildAgent\work\12eb1dfb595d0685
[14:17:55]: Clearing temporary directory: C:\BuildAgent\temp\buildTmp
[14:17:55]: Checkout directory: C:\BuildAgent\work\12eb1dfb595d0685
[14:17:55]: Resolving artifact dependencies (3m:37s)
[14:17:55]: [Resolving artifact dependencies] Destination directory cleaned: C:\BuildAgent\work\12eb1dfb595d0685
[14:21:25]: [Resolving artifact dependencies] Artifact src\asdfsadf
Thanks
Pawel
Please sign in to leave a comment.
In your artifact paths, try this: /dir/to/artifacts/* => artifacts.zip
Can I do the same on the receiving end?
Actually, it looks like I misunderstood your question.
Can you explain the current set up in more detail?
Let's assume we have 2 builds. B1 and B2. B2 consumes artifacts of B1. B1 produces 150MB of artifacts(small files).
In ideal word the B1 artifacts will be stored as a zip packages. When B2 gets triggered a B1 package will be sent to an appropriate build agent
and unzipped there so the whole process is completely transparent from B1 and B2 perspective.
Thanks
Pawel
Zipping the artifacts of B1 is easy.
/dir/to/artifacts/* => artifacts.zip
However, I'm not sure if there's a way to auto-unzip on B2.
Maybe someone else knows.
Hi Pawel
Yes, take a look at examples for Artifacts path at Artifact Dependencies page.
Michael
That's exactly what I was looking for.
Thanks a lot!