cicd-integrations
2025.10
true
- 概要
- UiPath CLI
- Azure DevOps 拡張機能
- Jenkins プラグイン
重要 :
このコンテンツの一部は機械翻訳によって処理されており、完全な翻訳を保証するものではありません。
新しいコンテンツの翻訳は、およそ 1 ~ 2 週間で公開されます。

CI/CD 連携ユーザー ガイド
最終更新日時 2025年11月18日
プロジェクトをパッケージ化する
前提条件:
- プロジェクトを作成します。
- CLI の
exeファイル (Windows の場合) またはdllファイル (Linux の場合) を実行します。 - 必要な Orchestrator API アクセスのアプリケーション スコープを追加します。
注:
また、Orchestrator のスコープを使用せずにパッケージをローカルで作成することもできます。
プロジェクトをパッケージにまとめるには、次の手順を実行します。
uipcli packageを使用して、packageタスクを実行します。利用可能なサブタスクのリストが表示されます。- 必要なパラメーターを指定し、[
pack] サブタスクを実行します。次の表で、必要なパラメーターについて説明します。
注:
プロジェクトの検証は、UiPath CLI のパック タスクや分析タスクでは実行されません。
凡例: (*) - 任意です。Orchestrator のライブラリとの依存関係がある場合にのみ有効です。
| パラメーター | 説明 |
|---|---|
-o、または --output (必須) | 移動先フォルダーのパスです。 |
-v, or --version | パッケージのバージョンを設定します。 |
--autoVersion | パッケージのバージョンを自動生成します。 |
--outputType | 特定の種類に出力を強制します。 |
--splitOutput | ランタイムライブラリとデザインライブラリへの出力分割を可能にします。 |
--repositoryUrl | プロジェクトのバージョン管理が行われるリポジトリ URL です。 |
--repositoryCommit | プロジェクトのビルド元のリポジトリ コミット。 |
--repositoryBranch | プロジェクトの構築元のリポジトリブランチ。 |
--repositoryType | VCS システム リポジトリの種類。 |
--projectUrl | Automation Hub のアイデアの URL |
--releaseNotes | リリース ノートを追加する |
-u、--libraryOrchestratorUsername (*) (ユーザー名とパスワードによる基本認証を使用する場合は必須) | Orchestrator への認証に使用するユーザー名です。対応するパスワードと組み合わせて使用する必要があります。 パッケージで Orchestrator フィードのライブラリを参照する場合、必須です。 |
-p、--libraryOrchestratorPassword (*) (ユーザー名とパスワードによる基本認証を使用する場合は必須) | Orchestrator への認証に使用するパスワードです。対応するユーザー名と組み合わせて使用する必要があります。 パッケージで Orchestrator フィードのライブラリを参照する場合、必須です。 |
-t、--libraryOrchestratorAuthToken (*) ( トークンベースの認証 を使用する場合は 必須) | Orchestrator への認証に使用する OAuth2 更新トークンです。アカウント名およびクライアント ID と組み合わせて使用する必要があります。 パッケージで Orchestrator フィードのライブラリを参照する場合、必須です。 |
-a、--libraryOrchestratorAccountName (*) ( トークンベースの認証 を使用する場合は 必須) | Orchestrator Cloud RPA のアカウント名です。OAuth2 更新トークンおよびクライアント ID と組み合わせて使用する必要があります。 パッケージで Orchestrator フィードのライブラリを参照する場合、必須です。 |
-A、 --libraryOrchestratorAccountForApp (*) | Orchestrator Cloud RPA のアカウント名 (組織名) です。外部アプリケーションの アプリケーション ID、アプリケーション シークレット、 アプリケーション スコープ と組み合わせて使用する必要があります。 パッケージが Orchestrator フィードのライブラリを参照している場合はこれが必須です。 |
-I 、 、--libraryOrchestratorApplicationId (*) ( 外部アプリケーション認証 を使用する場合は 必須) | 外部アプリケーション ID です。アプリケーション アカウント、アプリケーション シークレット、アプリケーション スコープと組み合わせて使用する必要があります。パッケージが Orchestrator フィードのライブラリを参照している場合はこれが必須です。 |
-S、 、--libraryOrchestratorApplicationSecret (*) ( 外部アプリケーション認証 を使用する場合は 必須) | 外部アプリケーション シークレットです。アプリケーション アカウント、アプリケーション ID、アプリケーション スコープと組み合わせて使用する必要があります。パッケージが Orchestrator フィードのライブラリを参照している場合はこれが必須です。 |
--libraryOrchestratorApplicationScope (*)( 外部アプリケーション認証 を使用する場合は 必須) | アプリケーション スコープを単一のスペースで区切って列挙したリストです。外部アプリケーションの アプリケーション アカウント、 アプリケーション ID、 アプリケーション シークレット と組み合わせて使用する必要があります。パッケージが Orchestrator フィードのライブラリを参照している場合はこれが必須です。 |
--libraryOrchestratorFolder (*) | 対象の Orchestrator フォルダーの名前です。 サブフォルダーを入力するには、親フォルダーの名前とサブフォルダーの名前の両方を入力してください。例: AccountingTeam\TeamJohn |
--libraryOrchestratorUrl (*) | Orchestrator インスタンスの URL です。 |
--libraryOrchestratorTenant (*) | Orchestrator インスタンスのテナントです。 |
--libraryIdentityUrl(PaaS または MSI デプロイに必要) | Identity Server の URL です。 |
--traceLevel | イベントのトレースを表示します。 |
-l, or --language | Orchestrator のユーザー インターフェイスで使用する言語です。 |
--disableBuiltInNugetFeeds | 組み込みの NuGet フィードを無効にします。 |
Project(s) Path (pos. 0) (必須) | project.json ファイルのパス、または project.json ファイルを含むフォルダーのパスです。 |
使用状況:
uipcli package pack <project_path> -o <destination_folder> [-v <version>] [--autoVersion] [--outputType <Process|Library|Tests|Objects>] [--libraryOrchestratorUrl <orchestrator_url> --libraryOrchestratorTenant <orchestrator_tenant>] [--u <orchestrator_user> --p <orchestrator_pass>] [--t <auth_token> --a <account_name>] [-A <organization_name> -I <application_id> -S <application_secret> --libraryOrchestratorApplicationScope <application_scope>] [--libraryIdentityUrl <identity_url>] [--libraryOrchestratorFolder <folder_name>] [-l <language>] [--splitOutput] [--repositoryUrl <repository_url>] [--repositoryCommit <repository_commit>] [--repositoryBranch <repository_branch>] [--repositoryType <repository_type>] [--projectUrl <automation_hub_idea_url>] [--releaseNotes <release_notes>] [--disableBuiltInNugetFeeds] [--traceLevel <None|Critical|Error|Warning|Information|Verbose>]uipcli package pack <project_path> -o <destination_folder> [-v <version>] [--autoVersion] [--outputType <Process|Library|Tests|Objects>] [--libraryOrchestratorUrl <orchestrator_url> --libraryOrchestratorTenant <orchestrator_tenant>] [--u <orchestrator_user> --p <orchestrator_pass>] [--t <auth_token> --a <account_name>] [-A <organization_name> -I <application_id> -S <application_secret> --libraryOrchestratorApplicationScope <application_scope>] [--libraryIdentityUrl <identity_url>] [--libraryOrchestratorFolder <folder_name>] [-l <language>] [--splitOutput] [--repositoryUrl <repository_url>] [--repositoryCommit <repository_commit>] [--repositoryBranch <repository_branch>] [--repositoryType <repository_type>] [--projectUrl <automation_hub_idea_url>] [--releaseNotes <release_notes>] [--disableBuiltInNugetFeeds] [--traceLevel <None|Critical|Error|Warning|Information|Verbose>]例:
uipcli package pack "C:\userprofile\AutomationProject\project.json" --traceLevel Information -o "C:\userprofile\Packages\Output"uipcli package pack "C:\userprofile\AutomationProject\project.json" --traceLevel Information -o "C:\userprofile\Packages\Output" --libraryOrchestratorUrl "https://orch-23-10-paas.cloudapp.azure.com/" --libraryOrchestratorTenant "TenantName" -u "orchestratorUsername" -p "********" --orchestratorFolder "FolderName"uipcli package pack "C:\userprofile\AutomationProject\project.json" --traceLevel Information -o "C:\userprofile\Packages\Output" --libraryOrchestratorUrl "https://orch-23-10-paas.cloudapp.azure.com/" --libraryOrchestratorTenant "TenantName" -A "organizationName" -I "76000552-3e4f-4590-9317-cdb420001f1d" -S "********" --libraryOrchestratorApplicationScope "OR.Folders OR.BackgroundTasks OR.TestSets OR.TestSetExecutions OR.TestSetSchedules OR.Settings.Read OR.Robots.Read OR.Machines.Read OR.Execution OR.Assets OR.Users.Read OR.Jobs OR.Monitoring" --libraryOrchestratorFolder "FolderName" --libraryIdentityUrl "https://orch-23-10-paas.cloudapp.azure.com/identity"uipcli package pack "C:\userprofile\AutomationProject\project.json" --traceLevel Information -o "C:\userprofile\Packages\Output" --libraryOrchestratorUrl "https://automation-suite.base.url.com/" --libraryOrchestratorTenant "TenantName" -A "organizationName" -I "3f6239b9-e0e8-465e-a429-d9ffd1d9e57a" -S "********" --libraryOrchestratorApplicationScope "OR.Folders OR.BackgroundTasks OR.TestSets OR.TestSetExecutions OR.TestSetSchedules OR.Settings.Read OR.Robots.Read OR.Machines.Read OR.Execution OR.Assets OR.Users.Read OR.Jobs OR.Monitoring" --libraryOrchestratorFolder "FolderName"uipcli package pack "C:\userprofile\AutomationProject\project.json" --traceLevel Information -o "C:\userprofile\Packages\Output" --libraryOrchestratorUrl "https://cloud.uipath.com/" --libraryOrchestratorTenant "TenantName" -A "organizationName" -I "becc663c-8f1e-409a-a75f-c00330d80bc8" -S "********" --libraryOrchestratorApplicationScope "OR.Folders OR.BackgroundTasks OR.TestSets OR.TestSetExecutions OR.TestSetSchedules OR.Settings.Read OR.Robots.Read OR.Machines.Read OR.Execution OR.Assets OR.Users.Read OR.Jobs OR.Monitoring" --libraryOrchestratorFolder "FolderName"