简体   繁体   中英

TFS 2018 - Build and Release - Library - Variable groups

I have read this https://docs.microsoft.com/en-us/vsts/build-release/concepts/library/variable-groups but didn't find an answer..

Is it possible to use variables as values in another variable definiton? Example:

  • MyCopyToFolder = C:\\TFS_deploy_target\\
  • MyConfigReplacements = $(MyCopyToFolder)ReplacementFolder\\MyAppReplacements.ps1

I didn't find any word about that (im)possibility..

Yes, it's supported since TFS 2015 update4.

I just checked that, everything works as expected with the variables expanded on TFS 2018. Reference below screenshot.

Refer to the similar thread : Visual Studio Team Foundation Server 2015 release configuration variables not setting

在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM