Variables in TFS Mappings on Visual Studio Online Team Builds

后端 未结 2 589
难免孤独
难免孤独 2021-01-22 04:48

I have created a VSO build using the new Team build system which uses TFS as the Repository. I would like to introduce a variable into the Mappings -> Map value but when I do I

2条回答
  •  执笔经年
    2021-01-22 05:28

    I also have this issue, i'd like to set the branch being built in order to have a single build that I can link to a single release (in vso), since the vso release system does not have global environment definitions.

    Anyway, this used to be possible but they removed this capability without replacing it with something else, kinda annoying.

    I worked around it by adding mappings to both my dev and main branch to different local folders and then using a variable to differentiate between them in the actual build steps. As long as you don't need to map a ton of branches this works, even though its a bit cumbersome.

提交回复
热议问题