How do I run an arbitrary test command on a Hosted agent?

夙愿已清 提交于 2019-12-23 04:52:07

问题


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.

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

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


回答1:


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.

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.



来源:https://stackoverflow.com/questions/55271108/how-do-i-run-an-arbitrary-test-command-on-a-hosted-agent

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!