How to correctly build projects with custom dependencies on Orchestrator, using the UiPath CLI?
Issue Description:
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 fail when encountering this WARNING message, as it cannot reach the needed dependencies to build the project.
Resolution:
- 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:
uipcli.exe package pack project.json -o Package --autoVersion libraryOrchestratorUrl https://cloud.uipath.com libraryOrchestratorAccountForApp uipathlucian libraryOrchestratorTenant DefaultTenant libraryOrchestratorApplicationId libraryOrchestratorApplicationSecret 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