UiPath CLI command to publish projects to Orchstrator

Hello

Can one of you please share the command line for publishing projects to Orchstrator?

I am having trouble publishing Windows projects to Orchestrator from AzureDevOps using the existing tasks that UiPath provides. Orchestrator is not able to find the .nupkg file and it fails to run the Windows processes. But it works perfectly when we publish them from Studio.

Assuming publishing the projects from Studio uses some command line tool in the background, I am asking if any one of you would know the steps to publish the project to Orchestrator using Command Line.

Hi @rpn_mail

Please try opening the cmd, navigate to the directory where the UiRobot.exe or UiPath.CommandLine.Publish.exe is located & try the following command:

For UiPath.CommandLine.Publish.exe:

UiPath.CommandLine.Publish -p "Path\to\Project.json" -o "https://orchestratorurl" -t "TenantName" -u "Username" -pwd "Password" -v "Version"

For UiRobot.exe:

UiRobot.exe -file "Path\to\Project.json" -orchestrator "https://orchestratorurl" -tenancyName "TenantName" -username "Username" -password "Password" -v "Version"

Hope this helps,
Best Regards.