- 概要
- UiPath CLI
- Azure DevOps 拡張機能
- Jenkins プラグイン
前提条件:
-
Orchestrator にデプロイするアセットを含む CSV ファイルを作成します。
CSV ファイルには、
name、type、value、descriptionの 4 つの列が必要です。 -
CLI の
exeファイル (Windows の場合) またはdllファイル (Linux の場合) を実行します。 -
Add the required Orchestrator API access application scopes.
CSV ファイルについて詳しくは、以下の例をご覧ください。
| name | type | value | 説明 |
|---|---|---|---|
| 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 |
アセットを Orchestrator にデプロイするには、次の手順に従います。
-
uipcli assetを使用してassetタスクを実行します。利用可能なサブタスクのリストが表示されます。 -
必要なパラメーターを指定し、
deployサブタスクを実行します。以下のパラメーターのリストをご覧ください。
パラメーター 説明 -uまたは--username(ユーザー名とパスワードによる基本認証を使用する場合は必須)Orchestrator への認証に使用するユーザー名です。対応するパスワードと組み合わせて使用する必要があります。
-pまたは--password(ユーザー名とパスワードによる基本認証を使用する場合は必須)Orchestrator への認証に使用するパスワードです。対応するユーザー名と組み合わせて使用する必要があります。
-t, or--token(Required if you use token-based authentication)Orchestrator への認証に使用する OAuth2 更新トークンです。アカウント名およびクライアント ID と組み合わせて使用する必要があります。
-a, or--accountName(Required if you use token-based authentication)Orchestrator Cloud RPA のアカウント名です。OAuth2 更新トークンおよびクライアント ID と組み合わせて使用する必要があります。
-Aまたは--accountForAppThe 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)外部アプリケーション シークレットです。アプリケーション アカウント、アプリケーション ID、アプリケーション スコープと組み合わせて使用する必要があります。
--applicationScope(Required if you use external application authentication)アプリケーション スコープを単一のスペースで区切って列挙したリストです。外部アプリケーションのアプリケーション アカウント、アプリケーション ID、アプリケーション シークレットと組み合わせて使用する必要があります。
-oまたは--organizationUnitOrchestrator フォルダー (組織単位) の名前です。
サブフォルダーを入力するには、親フォルダーの名前とサブフォルダーの名前の両方を入力してください。例:
AccountingTeam\TeamJohn-lまたは--languageOrchestrator のユーザー インターフェイスで使用する言語です。
-yまたは--disableTelemetryテレメトリ データを無効化します。
--traceLevelイベントのトレースを表示します。
--identityUrl(PaaS デプロイの場合のみ必須)Identity Server の URL です。
--helpこのコマンドのパラメーターと例を表示します。
--versionバージョン情報を表示します。
Assets File (pos. 0)(必須)削除するアセットが含まれる CSV ファイルの名前です。 Orchestrator URL (pos.1)(必須)Orchestrator インスタンスの URL です。 Orchestrator Tenant (pos.2)- (必須) SaaS デプロイの場合。
- (任意) PaaS デプロイの場合。
アセットを管理する Orchestrator インスタンスのテナントです。
使用状況:
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>]
例:
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"です。