问题描述
Hi Team,
我正在为使用Release Management 2013.4管理所有版本的客户工作。
I am working for a client who uses Release Management 2013.4 for managing all of their releases.
他们有几个面向客户的应用程序,所以,网站需要始终可用。
They have a couple of customer facing applications and so, the site needs to be always available.
我正在为他们的应用程序配置Release并为4-5环境标记了web.config。由于我在使用值替换令牌时遇到了问题,因此我按照以下博客来实现相同的目标。
I am configuring Release for their application and have tokenized the web.config for 4-5 environments. Since I had issues with replacing the tokens with values, I followed the below blog to achieve the same.
http://abelsquidhead.com/index.php/2014/05/01/tfs-2013-release-management-no/
有了这个,
-
该工具扫描* .token文件并用值替换标记 -
然后删除带有删除任务的web.config文件 -      
使用重命名文件/文件夹任务,它将web.config.token文件重命名为web.config
- the tool scans *.token files and replace the tokens with values
- Then delete the web.config file with a delete task
- With Rename file/folder task, it renames the web.config.token file to web.config
但是这种方法会使网站失效至少几秒钟,客户不同意。
But this method brings the site down atleast for a couple of seconds which the customer isn’t agreeing to.
还有其他方法可以达到这个目的吗?
Is there any other way to achieve this?
此外,它会如果您可以在组件屏幕中指导"变量替换模式"的其他值的示例/说明,那就太棒了。
Also, it would be great if you can guide me with examples/explanation on the other values of "Variables Replacement Mode" in a component screen.
TIA: )
推荐答案
据我所知,没有在RM / TFS中更好的方法。
As far as I know, there isn’t the better way to do that in RM/TFS.
>>但是这种方法会让网站至少停留几秒钟
这是什么原因这个?是否由于替换过程需要很长时间或网站重启?
What’s the reason of this? Is it due to the replace process take many time or web site restart?
如何删除,重命名文件? (那篇文章没有详细步骤)
How do you delete, rename the files? (that article doesn’t have the detail steps)
问候
这篇关于发布管理标记的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!