It seems odd that the main build definitions would not have a history, but I can't find any mechanisms. Please tell me there is someway to track changes to the build definitions over time.
Better late than never. I just had the same issue and I found the solution, by chance. For TFS version 15, this is how to do it:
- Go to your build definition;
- Click on the Edit button;
- Now you have a History tab (the last one for me). Click on it and you will see the change history.
I'm pretty sure there is no way to track the changes to the build definition automatically. You can however do it manually by exporting the definition to a file each time you change it and then checking in that file into source control.
You'll need to install the Team Foundation Server Power Tools appropriate for your TFS version, then you can use
tfpt builddefinition
to export definitions.
Look in source control under:
$/ProjectName/TeamBuildTypes
There should be a full history of changes to the <>.proj file stored there.
You can use the .proj files in TFS 2010 builds (for backwards compatibility). So, if you really needed to track changes, just add the .proj file to the appropriate TeamBuildTypes folder. When you create the build definition, on the Process form, you need to change Build process file to 'Upgrade Template' and then specify the Configuration Folder Path under Build process parameters.
© 2022 - 2024 — McMap. All rights reserved.