有没有一种方法可以在每个环境中使用VSTS变量组? [英] Is there a way to use VSTS Variable Groups per environment?

查看:114
本文介绍了有没有一种方法可以在每个环境中使用VSTS变量组?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将配置从使用web.config转换转移到基于VSTS变量.我得到了过程变量,您定义了一个变量,选择了一个环境,然后您就可以开始了.我还看到了变量组",它们看起来很棒,具有KeyVault集成,并且总体看来是一个更好的选择.

I'm moving my configuration from using web.config transforms to being based on VSTS variables. I get process variables, you define a variable, pick an environment, and you're good to go. I also see "Variable Groups", these seem great, have KeyVault integration, and overall seem like a much better option.

但是...我在VSTS发行过程中没有看到将变量组绑定到特定环境的方法.老实说,如果没有此功能,我将无法理解这些功能.

But...I don't see a way to bind a Variable Group to a specific environment in my VSTS release process. I can't honestly see how these would be any use to me without this feature.

我已经尝试了一种解决方法,但是没有成功.我试过了:

I've experimented with one workaround, but it didn't work. I tried:

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆