Performance issue at Create Release --> TFS Build Server version list dropdown

Sometimes I am having a problem at “Create Release” admin page. We get our http TFS Build Server’s build version list (Packages) too late. We are waiting for 1 ~ 5 minutes for selecting the last TFS version of the applications to the dropdown list. We have a list this contains 77 old TFS app versiyon information LIKE “2.0.13024.1” , “2.0.13025.1” At the end of the waiting time,

How could we impove this performance problem at Creating Release page?

My octopus server:
http://10.0.0.X:8090/projects/admin/releases/edit

My TFS build server:
http://192.168.0.X:8091/nuget/

Thanks,

Özgür Kaya

Clean out your old nuget packages. We noticed the same behaviour, and are now archiving all but the last 3 versions for each environment.

Hi Derrick,

How do you keep the last 3 versions? I have a scheduled task that executes once a day and deletes everything in my nuget repository older than x days, but I would prefer to take an approach similar to yours (i.e. keep the last x versions).

Hi Brad,

I am doing it with a scheduled batch job, which I run nightly. So during the day, the packages will pile up, and then every night I prune them back down to the most recent 3.

Here is the important bit of the batch file:
@@@
for /f “tokens=* skip=3” %%A in (‘dir D:\Packages*.* /o-d /tc /b’) do (
del “D:\Packages%%A”
)
@@@

Awesome, that is exactly what I am after.
Thanks very much Derrick.

Hi all,
@Now we are integrated Klondike NuGet repository instead of the original nuget repository for our internal nuget libraries. There is no indexing problem or issue.

Also We are packaging projects with octopack with Octopus built in nuget library instead of tired TFS nugetter build template. There is no problem.

Thx.

?I am currently on leave and will be back Wednesday the 4th of November.

[cid:image8ecade.PNG@f24c0df0.4cae9d17] Brad Webber
Principal?Software?Developer

KIANDRA IT
Level 28, 570 Bourke Street, Melbourne VIC 3000
+65 8153 1865 | kiandra.com.auhttp://kiandra.com.au | bloghttp://blog.kiandra.com.au/

    [cid:imagee21a3d.PNG@e2174c3f.4c97c314] <https://www.facebook.com/KiandraIT> |[cid:image213572.PNG@2841339f.4195cdf8]<https://twitter.com/kiandrait>|[cid:image34542b.PNG@f22fd7d0.41957916]<http://www.linkedin.com/company/kiandra-it>

This message together with any attachments is confidential and intended only for the person or entity to which it is addressed. If you are not the intended recipient, you may not copy, distribute, disclose, rely upon or otherwise use this communication. If you receive this communication in error, please immediately delete it from your system and notify the sender by return email. Kiandra IT Pty Ltd (ACN 070 937 656).

imagee21a3d.PNG

image8ecade.PNG

image34542b.PNG

image213572.PNG