如何为每个Deployment Agent设置发布变量范围 [英] How to set Release Variables scope per Deployment Agent

查看:103
本文介绍了如何为每个Deployment Agent设置发布变量范围的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何为每个部署代理设置发布变量作用域?例如,在设置IIS绑定时,我需要在每个部署代理上使用不同的IP.

How to set the release variables scope per deployment agent? for example, while setting up IIS Bindings, i need to use different IP on each deployment agent.

我们可以为每个部署组设置Release变量作用域,但找不到在代理级别进行设置的方法.

we can set Release variable scope per deployment group, but not able to find a way to set at the agent level.

推荐答案

一种可能的解决方案可能是将代理上的IP设置为环境变量,然后

One possible solution might be to set the IP on the agent as an environment variable and then pass the environment variable to the task.

这篇关于如何为每个Deployment Agent设置发布变量范围的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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