Jul 28 2020 02:47 AM
Hello,
I created a pipeline on Azure DevOps Server for a c# project. I want to trigger this pipeline from another workstation which is on the same domain. How can I do this? Is it possible to do it by command line?
Thank you in advance.
Regards.
Jul 30 2020 04:12 AM
Hi @aMesquita_ ,
if I understood your scenario right, you want to manually trigger a pipeline run in your AzureDevOps Server from a computer in your network in some way.
I assume that the obvious choice of accessing the AzDOS Web GUI from that computer is something you are aware of, but you want something programmatic?
I know for sure that at the moment, Azure DevOps CLI is only available for AzDO Services. There is a PowerShell module available (provided by community, not MSFT) for managing AzDO/TFS, but I haven't found a cmdlet that would trigger a pipeline run on demand. You can check it out here.
Another (theoretical) option would be trying the REST API, that is available for AzDOS/TFS as well, but I couldn't find an example of triggering a pipeline using this method.