简体   繁体   English

Tfs 自动发布,在该版本中评估了标记化

[英]Tfs automated release at which step tokenization evaluated

I have three different environment QA and PreProd and Prod.我有三个不同的环境 QA 和 PreProd 和 Prod。 My question is I have particular build# deployed on QA and PreProd and just before promoting the same for Prod we updated some Prod environment variable value(this variable replaces tokenized value in appconfig.json file and is different for each environment).我的问题是我在 QA 和 PreProd 上部署了特定的 build#,就在为 Prod 推广相同版本之前,我们更新了一些 Prod 环境变量值(这个变量替换了 appconfig.json 文件中的标记化值,并且每个环境都不同)。 In this case will promoting the same Release for Prod will pick the new value or I need to create new Release from QA environment and then promote to next steps.在这种情况下,将为 Prod 推广相同的 Release 将选择新值,或者我需要从 QA 环境创建新版本,然后升级到下一步。

You just need to add new Stage for each environment in the same release pipeline, then in each stage, you could add task to do tokenization.您只需在同一发布管道中为每个环境添加新的Stage ,然后在每个阶段中,您可以添加任务来进行标记化。

For example: File transforms and variable substitution reference例如: 文件转换和变量替换参考

Replace Tokens 替换令牌

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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