开发者

Is it possible to get the history of changes on a build definition in TFS2010?

It seems odd that the main build definitions would not have a histo开发者_JAVA技巧ry, but I can't find any mechanisms. Please tell me there is someway to track changes to the build definitions over time.


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.


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:

  1. Go to your build definition;
  2. Click on the Edit button;
  3. Now you have a History tab (the last one for me). Click on it and you will see the change history.


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.


Look in source control under:

$/ProjectName/TeamBuildTypes

There should be a full history of changes to the <>.proj file stored there.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜