- Overview
- UiPath CLI
- Azure DevOps extension
- Jenkins plugin

CI/CD integrations user guide
Deploying assets to Orchestrator
Prerequisites:
-
Create a CSV file that contains the assets that you want to deploy to Orchestrator.
The CSV file must have the following three columns:
name,type,value, anddescription. -
Run the CLI
exe(for Windows) ordll(for Linux) file. -
Add the required Orchestrator API access application scopes.
For more information about the CSV file, check the example below.
| name | type | value | description |
|---|---|---|---|
| asset\_1\_name | text | "i have a comment" | asset\_1\_description |
| asset\_2\_name | integer | 1 | asset\_2\_description |
| asset\_3\_name | bool | false | asset\_3\_description |
| asset\_4\_name | credential | username:password | asset\_4\_description |
To deploy assets to Orchestrator, take the following steps:
- Run the
assettask, usinguipcli asset. You can see a list of the available sub-tasks. - Specify the required parameters and run the
deploysub-task. See the list of parameters below.
| Parameter | Description |
|---|---|
-u , or --username ( Required if you use Basic Authentication , through a username and a password) | The username used for authenticating to Orchestrator. You must pair it with the corresponding password. |
-p , or --password ( Required if you use Basic Authentication , through a username and a password) | The password used for authenticating to Orchestrator. You must pair it with the corresponding username. |
-t , or --token ( Required if you use token-based authentication ) | The OAuth2 refresh token used for authenticating to Orchestrator. You must pair it with the Account Name and Client ID . |
-a , or --accountName ( Required if you use token-based authentication ) | The Orchestrator CloudRPA account name. You must pair it with the OAuth2 refresh token and Client ID . |
-A , or --accountForApp | The Orchestrator CloudRPA account name(organization name). You must pair it with the Application ID , Application Secret , and Application scope for external application. |
-I , or --applicationId ( Required if you use external application authentication ) | The external Application Id. You must pair it with the Application Account , Application Secret , and Application scope . |
-S , or --applicationSecret ( Required if you use external application authentication ) | The external Application Secret. You must pair it with the Application Account , Application ID , and Application scope . |
--applicationScope ( Required if you use external application authentication ) | The list of application scopes, separated by single spaces. You must pair it with the Application Account , Application ID , and Application Secret for external application. |
-o , or --organizationUnit | The name of the Orchestrator folder (organization unit). AccountingTeam\TeamJohn . |
-l , or --language | The language used in the Orchestrator user interface. |
-y , or --disableTelemetry | Disable telemetry data. |
|
| Display the trace of the events. |
--identityUrl ( Required for PaaS or MSI deployments) | The URL of your identity server. |
|
| Displays the parameters and examples for this command. |
|
| Display version information. |
Assets File (pos. 0) ( Required ) | The name of the CSV file that contains the assets you want to delete. |
Orchestrator URL (pos.1) ( Required ) | The URL of the Orchestrator instance. |
|
| The tenant of the Orchestrator instance, where you want to manage your assets. |
Usage:
asset deploy <assets_file> <orchestrator_url> <orchestrator_tenant> [-u <orchestrator_user> -p <orchestrator_pass>] [-t <auth_token> -a <account_name>] [-A <account_for_app> -I <application_id> -S <application_secret> --applicationScope] [-o <folder>] [-l <language>]asset deploy <assets_file> <orchestrator_url> <orchestrator_tenant> [-u <orchestrator_user> -p <orchestrator_pass>] [-t <auth_token> -a <account_name>] [-A <account_for_app> -I <application_id> -S <application_secret> --applicationScope] [-o <folder>] [-l <language>]Examples:
asset deploy assets_file.csv "https://uipath-orchestrator.myorg.com" default -u admin -p 123456 -l en-US.asset deploy assets_file.csv "https://uipath-orchestrator.myorg.com" default -u admin -p 123456 -o OurOrganization.asset deploy assets_file.csv "https://uipath-orchestrator.myorg.com" default -t a7da29a2c93a717110a82 -a myAccount.asset delete assets_file.csv "https://uipath-orchestrator.myorg.com" default -A accountForExternalApp -I myExternalAppId -S myExternalAppSecret --applicationScope "OR.Folders.Read OR.Settings.Read".