简体   繁体   中英

TFS - How to identify obsolete build defintions

We are support project across our companies.

We are going to have around 100 projects, 3 build definitions per project, around 5-7 branches and their build definitions.

Now as development of branch is completed, build definition(s) of that branch is of no use.

To optimize the disk usage, we would like to implement weekly job which checks obsolete build definitions and then run a clean up command.

Is there any way we can implement the same? or any tool available from Microsoft?

I don't think there is any tool available to list obsolete build definitions, because there are so many different scenarios can be considered as obsolete. I think your team also have a clear definition about what kind of build is obsolete which different from others. Maybe you can work with TFS API to add your own obsolete logic, then destroy these obsolete via code.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM