tfsbuild - How to start vNext TFS 2015 build revision at a specific number -


i using vnext build system of tfs 2015.

i have builds versioning in traditional format. major.minor-rev.revisionnumber. so, if have build major 1, minor 12, build version 1.12-rev.1 when start. know if possible have build version start @ number other one, 55. such build version 1.12-rev.55, , increment 1 usual after that.

unfortunately, it's impossible.

every build definition has build number format field can use macros dictate resulting build number should like. in format using $(rev:.rr) start one.

what $(rev:.rr)?

to ensure every completed build has unique name. when build completed, if nothing else in build number has changed, rev integer value incremented one.

source:msdn

moreover, if want generating custom build number without increment. here blog detailed procedures:generate custom build numbers in tfs build vnext


Comments

Popular posts from this blog

ruby - Trying to change last to "x"s to 23 -

jquery - Clone last and append item to closest class -

css - Can I use the :after pseudo-element on an input field? -