Pack Projects With Custom Dependencies Hosted On Orchestrator Using The UiPath CLI

How to correctly build projects with custom dependencies on Orchestrator, using the UiPath CLI?

This error message appears as WARNING, as it is not meant to stop the building process, if not using custom dependencies from the Orchestrator.

If the project requires custom dependencies in order to be built, the build process will actually fail when hitting this WARNING message, as it cannot reach the needed dependencies to actually build the project.

To build projects with custom dependencies hosted on Orchestrator, initially create an external application in Orchestrator. Make sure it has all the following scopes (13 total):

OR.Monitoring OR.Folders OR.BackgroundTasks OR.TestSets OR.TestSetExecutions OR.TestSetSchedules OR.Settings OR.Robots OR.Machines OR.Execution OR.Assets OR.Users OR.Jobs

Then, using the ApplicationID and Secret provided, create build command for the CLI, in order to pack the project using the custom dependencies from the Orchestrator Feed.

As an example, if the Cloud Orchestrator URL is: https://cloud.uipath.com/uipathlucian/DefaultTenant/orchestrator_ , use something like:

  • UiPath-CLItoolsuipcli.exe package pack project.json -o Package --autoVersion
  • libraryOrchestratorUrl https://cloud.uipath.com
  • libraryOrchestratorAccountForApp uipathlucian
  • libraryOrchestratorTenant DefaultTenant
  • libraryOrchestratorApplicationId <value>
  • libraryOrchestratorApplicationSecret <value>
  • libraryOrchestratorApplicationScope OR.Monitoring OR.Folders OR.BackgroundTasks OR.TestSets OR.TestSetExecutions OR.TestSetSchedules OR.Settings OR.Robots OR.Machines OR.Execution OR.Assets OR.Users OR.Jobs