TFS 2015 vNext force build number

北城以北 提交于 2020-01-03 03:38:11

问题


Back in TFS 2013 you could temporarily hardcode a build number and then switch back to auto increment to skip ahead with build numbers. Now with TFS 2015 vNext, it seems like I can no longer do this. I went to make a new build definition and wanted to carry on from the last build number from my XAML build but it wouldn't move up.

Any ideas or workarounds for this?


回答1:


It's also supported. Please check this link for detail steps:Generate custom build numbers in TFS Build vNext


update

Unfortunately, it's impossible.$(Rev:.rr) Its start by one.

What is $(Rev:.rr)?

To ensure that every completed build has a unique name. When a build is completed, if nothing else in the build number has changed, the Rev integer value is incremented by one.

Source:MSDN



来源:https://stackoverflow.com/questions/35353680/tfs-2015-vnext-force-build-number

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!