Variables in TFS Mappings on Visual Studio Online Team Builds

后端 未结 2 592
难免孤独
难免孤独 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.

    0 讨论(0)
  • 2021-01-22 05:31

    Mappings on the Repository page are used to specify source control folder which contains projects that need to be built in the build definition. You can set it via clicking the Ellipsis (...) button, however, you can't include variables in the mapping path.

    0 讨论(0)
提交回复
热议问题