There has been a lot of errors with various versions of TFS/DevOps Server about obsoleted builds in the drop folders, and the various versions have fixed part of it. Here comes a script to identify them.
Continue reading “BuildDrop cleanup”Tag: TFS
Team Foundation Server
Security fix for TFS 2017/2018
Microsoft have released security fixes for TFS 2017 and 2018.
See Link
Cleanup workspaces
To be honest, how many of you do cleanup of workspaces when people leave or just get a new computer?
It is one of those tasks that it is good to execute regularly, to keep the numbers low, as it affects the upgrade speed of the TFS server.
Continue reading “Cleanup workspaces”Build blocked by Release
Due to the nature of the build and release services in TFS, strange things can happen.
Just discovered that we had some builds that was marked “retained by release”, as usual, but looking at the details pane, there wasn’t any related deployments, so we wasn’t able to delete those builds.
List teams and users
From time to time, it can be handy to use the Team configuration and members in TFS to set permissions in another application.
TFS Storage use part 3
In part 2 of this little story about storage use in TFS, we had a look at how the storage was consumed by areas. One of the biggest areas are usually related to build jobs.
TFS storage use part 2
In the previous article we looked at the TFS storage growth over time.
Now it is time to dive into this and look at what is actually consuming the space.
TFS Storage usage
This is the first post on monitoring storage usage of on-premise TFS.
Often the databases behind TFS is a black boks, where storage just grows, so we will dig into the database behind to see where the bits and bytes goes.
Order of source repository
It is possible to have both TFVC and GIT in the same TFS project, and when you create a new project you set the default repository and the afterwards you can add the second one.
An important notice about this:
If you run XAML based builds, the build definitions can only use the default repository aka the one you selected when you created the TFS project.
So if you still use XAML, make sure you select the correct repository when you create the project
It is not possible to switch over. At least not officially yet….
UPDATE: MS support has a created a tool that can fix this
Number of build definitions
If you are stuck on upgrading to TFS 2018 due to the old deprecated XAML based builds, it can be a challenge to see how far you are from the goal of zero XAML builds.