cicd-integrations
2024.10
true
重要 :
このコンテンツの一部は機械翻訳によって処理されており、完全な翻訳を保証するものではありません。 新しいコンテンツの翻訳は、およそ 1 ~ 2 週間で公開されます。
UiPath logo, featuring letters U and I in white

CI/CD 連携ユーザー ガイド

最終更新日時 2025年7月4日

プロジェクトを分析する

前提条件:

プロジェクトを分析するには、次の手順を実行します。

  1. uipcli packageを使用して、package タスクを実行します。利用可能なサブタスクのリストが表示されます。
  2. 必要なパラメーターを指定し、analyze サブタスクを実行します。

    次の表で、必要なパラメーターについて説明します。

注:

プロジェクトの検証は、UiPath CLI のパック タスクや分析タスクでは実行されません。

凡例: (*) - 任意。追加のパッケージ フィードを使用する場合は推奨。

パラメーター

説明

--analyzerTraceLevel

分析後に出力するメッセージの種類を選択します。

  • Off = メッセージを表示しません。
  • Error

    -Warning

    -Info

    -Verbose.

-stopOnRuleViolation

ルールに違反した場合、ジョブは失敗します。

--treatWarningsAsErrors

警告をエラーとして扱います。

--resultPath

結果を保存する JSON ファイルのフル パスです。

これを引数として追加しない場合、結果は標準コンソールにのみ出力されます。

--governanceFilePath

ワークフロー アナライザーのルールを含むガバナンス ポリシーを渡します。ポリシーは からダウンロードするか、 Studio からエクスポートされた圧縮 zip ファイルから抽出できます。

注:

ポリシーの使用を指定しても、ポリシー ファイルが上記のパスにない場合、タスクは失敗します。

--ignoredRules

分析時に無視するルールをコンマで区切って列挙したリストです。

-u--orchestratorUsername (*)

(ユーザー名とパスワードによる基本認証を使用する場合は必須)

Orchestrator への認証に使用するユーザー名です。対応するパスワードと組み合わせて使用する必要があります。

-p--orchestratorPassword (*)

(ユーザー名とパスワードによる基本認証を使用する場合は必須)

Orchestrator への認証に使用するパスワードです。対応するユーザー名と組み合わせて使用する必要があります。

-t-orchestratorAuthToken (*)

(トークンベースの認証を使用する場合は必須)

Orchestrator への認証に使用する OAuth2 更新トークンです。アカウント名およびクライアント ID と組み合わせて使用する必要があります。

-a--orchestratorAccountName (*)

(トークンベースの認証を使用する場合は必須)

Orchestrator Cloud RPA のアカウント名です。OAuth2 更新トークンおよびクライアント ID と組み合わせて使用する必要があります。

-A--orchestratorAccountForApp (*)

Orchestrator Cloud RPA のアカウント名 (組織名) です。外部アプリケーションのアプリケーション IDアプリケーション シークレットアプリケーション スコープと組み合わせて使用する必要があります。

-I--orchestratorApplicationId (*)

(外部アプリケーション認証を使用する場合は必須)

外部アプリケーション ID です。**アプリケーション アカウント、アプリケーション シークレットアプリケーション スコープと組み合わせて使用する必要があります。

-S--orchestratorApplicationSecret (*)

(外部アプリケーション認証を使用する場合は必須)

外部アプリケーション シークレットです。アプリケーション アカウントアプリケーション IDアプリケーション スコープと組み合わせて使用する必要があります。

--orchestratorApplicationScope (*)

(外部アプリケーション認証を使用する場合は必須)

アプリケーション スコープを単一のスペースで区切って列挙したリストです。外部アプリケーションのアプリケーション アカウントアプリケーション IDアプリケーション シークレットと組み合わせて使用する必要があります。

--orchestratorFolder (*)

対象の Orchestrator フォルダーの名前です。

サブフォルダーを入力するには、親フォルダーの名前とサブフォルダーの名前の両方を入力してください。例: AccountingTeam\TeamJohn
--orchestratorUrl (*)

Orchestrator インスタンスの URL です。

--orchestratorTenant (*)

マシンを削除する Orchestrator インスタンスのテナントです。

-l--language

オーケストレーターの言語です。

--traceLevel

イベントのトレースを表示します。

--identityUrl (Required for PaaS or MSI deployments Identity Server の URL です。

--disableBuiltInNugetFeeds

組み込みの NuGet フィードを無効化します。

Project(s) Path (pos.0) (必須) project.json ファイルのパス、または複数の project.json ファイルを含むフォルダーのパスです。

使用状況:

uipcli package analyze <project_path> [--analyzerTraceLevel <analyzer_trace_level>] [--stopOnRuleViolation] [--treatWarningsAsErrors] [--resultPath <result_path>] [--governanceFilePath <governance_file_path>] [--ignoredRules <rule_id_1,rule_id_2>] [--orchestratorUrl <orchestrator_url> --orchestratorTenant <orchestrator_tenant>] [-u <orchestrator_user> -p <orchestrator_pass>] [-t <auth_token> -a <account_name>] [-A <organization_name> -I <application_id> -S <application_secret> --orchestratorApplicationScope <application_scope>] [--orchestratorFolder <folder_name>] [-l <language>] [--traceLevel <None|Critical|Error|Warning|Information|Verbose>] [--identityUrl <identityUrl>] [--disableBuiltInNugetFeeds] uipcli package analyze <project_path> [--analyzerTraceLevel <analyzer_trace_level>] [--stopOnRuleViolation] [--treatWarningsAsErrors] [--resultPath <result_path>] [--governanceFilePath <governance_file_path>] [--ignoredRules <rule_id_1,rule_id_2>] [--orchestratorUrl <orchestrator_url> --orchestratorTenant <orchestrator_tenant>] [-u <orchestrator_user> -p <orchestrator_pass>] [-t <auth_token> -a <account_name>] [-A <organization_name> -I <application_id> -S <application_secret> --orchestratorApplicationScope <application_scope>] [--orchestratorFolder <folder_name>] [-l <language>] [--traceLevel <None|Critical|Error|Warning|Information|Verbose>] [--identityUrl <identityUrl>] [--disableBuiltInNugetFeeds]

最小限のコマンドの例:

  • uipcli package analyze "C:\userprofile\AutomationProject\project.json" --traceLevel Information --resultPath "C:\userprofile\result.json"

  • uipcli package analyze "C:\userprofile\AutomationProject\project.json" --traceLevel Information --resultPath "C:\userprofile\result.json" --orchestratorUrl "https://orch-23-10-paas.cloudapp.azure.com/" --orchestratorTenant "TenantName" -u "orchestratorUsername" -p "********" --orchestratorFolder "FolderName"

  • uipcli package analyze "C:\userprofile\AutomationProject\project.json" --traceLevel Information --resultPath "C:\userprofile\result.json" --orchestratorUrl "https://orch-23-10-paas.cloudapp.azure.com/" --orchestratorTenant "TenantName" -A "organizationName" -I "76000552-3e4f-4590-9317-cdb420001f1d" -S "********" --orchestratorApplicationScope "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" --orchestratorFolder "FolderName" --identityUrl "https://orch-23-10-paas.cloudapp.azure.com/identity"

  • uipcli package analyze "C:\userprofile\AutomationProject\project.json" --traceLevel Information --resultPath "C:\userprofile\result.json" --orchestratorUrl "https://automation-suite.base.url.com/" --orchestratorTenant "TenantName" -A "organizationName" -I "3f6239b9-e0e8-465e-a429-d9ffd1d9e57a" -S "********" --orchestratorApplicationScope "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" --orchestratorFolder "FolderName"

  • uipcli package analyze "C:\userprofile\AutomationProject\project.json" --traceLevel Information --resultPath "C:\userprofile\result.json" --orchestratorUrl "https://cloud.uipath.com/" --orchestratorTenant "TenantName" -A "organizationName" -I "becc663c-8f1e-409a-a75f-c00330d80bc8" -S "********" --orchestratorApplicationScope "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" --orchestratorFolder "FolderName"

このページは役に立ちましたか?

サポートを受ける
RPA について学ぶ - オートメーション コース
UiPath コミュニティ フォーラム
Uipath Logo
信頼とセキュリティ
© 2005-2025 UiPath. All rights reserved.