Team Build的内部版本号和$(Rev:.r)

Afs*_*bbi 10 build-process tfsbuild tfs2010

TFS Build 2010使用内部版本号.它类似于$(Rev:.r).$(Rev:.r)每天增加,而内部编号以其他方式增加.

问题是:

  1. 官方名称是internal build number什么?
  2. 如何以internal build number宏格式访问以便在构建定义中的"构建数字格式"中使用它?
  3. 内部编号仅在构建失败时显示,并且只能通过BuildDetail团队构建过程模板中的变量访问.它未显示,无法在Build Explorer中搜索.如何在Build Explorer中显示和搜索?
  4. 这如何internal build number增加?所有定义中的每个构建?在整个项目集合中?

小智 11

试试$(BuildID)MSDN的"使用内置编号".