Azure DevOps-获取代理IP地址
我有一个Azure DevOps管道,该管道运行2个作业 - 一个在运行服务器的Windows代理上,另一个在Linux代理上运行连接到服务器的客户端。这些作业并行运行。当前,IP地址和端口在客户端仓库上进行了硬编码。但是我想解开这种情况。 Azure Devops管道中是否有办法将Agent IP进入第一个作业,将其存储在变量中并将其用作第二个作业的一步?
非常感谢您的所有帮助。
I have a azure devops pipeline that runs 2 jobs - one on windows agent running a server, the other on Linux agent - running a client that connects to the server. These jobs run in parallel. Currently ip address and port are hard coded on client side repo. But I want to decouple this situation.
is there a way in azure devops pipeline to get agent ip in the first job, store it in variable and use it as parameter to a step in the second job?
thanks a lot for all the help.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论