如何在托管代理上运行任意测试命令? [英] How do I run an arbitrary test command on a Hosted agent?

查看:85
本文介绍了如何在托管代理上运行任意测试命令?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想测试一下我正在编写的命令是否可以在我的DevOps Build Pipeline的托管代理上正常工作.例如,该命令可能非常复杂,也可能与tsc --version一样微不足道.

I would like to test that a command I'm crafting will work fine on a Hosted Agent with my DevOps Build Pipeline. The command could be quite complex or as trivial as tsc --version, for example.

如何在不修改build-pipeline-definition.yaml或重新运行构建管道的情况下做到这一点?

How do I do it without modifying my build-pipeline-definition.yaml or rerunning the Build Pipeline?

我可以ssh/remote进入Agent并在那里玩吗?还是有另一种方法?

Can I ssh/remote into the Agent and play around there? Or is there another way?

推荐答案

如何在不修改build-pipeline-definition.yaml或不重新运行构建管道的情况下做到这一点?

How do I do it without modifying my build-pipeline-definition.yaml or rerunning the Build Pipeline?

此刻,您不知道.测试内部版本的方法是修改内部版本,运行内部版本,以及在仍然无法正常运行时进行迭代.

At the moment, you don't. The way to test builds is to modify the build, run a build, and iterate if it's still not working.

我可以ssh/remote进入Agent并在那里玩吗?

Can I ssh/remote into the Agent and play around there?

不.如果需要访问代理,请在您控制的计算机上安装和配置专用代理.

No. If you need access to an agent, install and configure a private agent on a machine you control.

这篇关于如何在托管代理上运行任意测试命令?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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