【发布时间】:2017-03-27 18:57:10
【问题描述】:
我有一个 Web 项目,它使用了位于客户端下的 Web.config 文件中的两个服务端点 --> 端点 --> 地址部分
我在 Octopus 变量部分找到了以下内容,但似乎找不到任何关于如何使用实际变量来解决更改的参考,就像你通常会做的那样
我正在使用八达通的 webui,这将是
http://{server-name}/app#/projects/{project-name}/variables
我尝试像这样分配变量,但值从未更新 原始条目如下所示
<endpoint address="http://services-test.example.com/test.svc/soap" binding="basicHttpBinding" bindingConfiguration="soap" contract="test.service" name="soap" />
Name Address Instance
Endpoint[A].Address test-service-a.example.com 1
Endpoint[B].Address test-service-b.example.com 2
这是否可以使用 Octopus 变量实现? (我知道可以使用常规的 Web.config 转换来完成,因为我们已经这样做了)。
如果可能的话,正确的替换值是多少
端点地址
对于多个不同的端点地址,我将如何实现这一点?
【问题讨论】:
标签: web-config octopus-deploy web.config-transform