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

CI/CD 連携ユーザー ガイド
最終更新日時 2025年11月18日
UiPath のジョブを実行
構成
以下の表を使用して、[UiPath のジョブを実行] の入力を設定します。
| 入力 | 説明 |
|---|---|
| 表示名 (必須) | タスクの名前を入力します。 |
| Orchestrator への接続 (必須) | UiPath Orchestrator サービスにアクセスするためのサービス接続を設定します。このステップのためだけの接続を設定するか、既存のグローバル接続を使用します。詳細については、「UiPath Orchestrator サービス接続を構成する」をご覧ください。 |
| プロセス (必須) | プロセスは、特定の種類のフォルダーにリンクされたパッケージ バージョンです。この入力は、プロセスがデプロイされているフォルダーの種類に基づいて設定する必要があります。モダン フォルダーの場合、この入力は [ プロセス] タブに表示されているプロセスの名前です。プロセス名を確認するには、Orchestrator を開き、フォルダーを開いて、[ オートメーション] > [ プロセス] に移動します。クラシック フォルダー (非推奨) の場合、この入力はプロセス名の後にアンダースコアとロボットがホストされるロボット グループの名前が付けられたものになります。この命名規則の例として、次の変数について考えてみましょう。 プロセスの名前はTestAutomationです。環境の名前は Productionです。この入力のプロセス名は TestAutomation_Productionです。 |
| 入力パラメーター | JSON 入力ファイルへのファイル パスを指定します (例: Input\jobParameters.json。JSON ファイル形式の例: { "StringArgument_In": "MyConfigurationValue", "IntArgument_In": 1, "DictionaryArgument_In": { "Key1": "Value1", "Key2": "Value2" } }{ "StringArgument_In": "MyConfigurationValue", "IntArgument_In": 1, "DictionaryArgument_In": { "Key1": "Value1", "Key2": "Value2" } } |
| 優先度 | プロセス レベルで特定の順序を設定する場合は、ジョブ実行の優先度を選択します。既定では、この入力は Normal に設定されています。 |
| Orchestrator のフォルダー (必須) | プロセスをデプロイするフォルダーを指定します。クラシック フォルダーでは、特定のロボット名を使用できます。モダン フォルダーでは、特定のユーザー名とマシン名を使用できます。サブフォルダーを入力するには、親フォルダーの名前とサブフォルダーの名前の両方を入力してください。例: AccountingTeam\TeamJohn |
| ストラテジ | (動的割り当てまたはロボット固有の) 実行方法を指定します。動的に割り当てられたジョブの場合、プロセスは利用可能なアカウントとマシンで実行されます。または、ロボット固有のジョブを選択することもできます。 |
| ジョブの種類 | モダン フォルダーでのみ利用可能です。ジョブを実行するランタイムのライセンス モデルを選択します。詳細については、ロボットのライセンスに関するページをご覧ください。 |
| ジョブの数 | 動的な割り当て方法でのみ使用できます。このタスクを実行する回数を指定します。既定では、この入力は 1 に設定されています。 |
| ユーザー (User) | モダン フォルダーでの動的割り当て方法でのみ使用できます。マシンのユーザー名を追加します。たとえば、この入力のローカル ユーザーは MachineName\UserName です。 |
| マシン | モダン フォルダーでの動的割り当て方法でのみ使用できます。実行するマシンの名前です。 |
| 出力 | 結果は JSON ファイルで収集されます。ジョブの結果のパスを指定する必要があります (例: Output\testResults.json)。この入力を空白のままにすると、既定の出力が成果物のステージング ディレクトリに UiPathResults.json という名前で送信されます。 |
| Timeout | 要求がタイムアウトするまで待機する秒数を指定します。 |
| ジョブの失敗時にタスクを失敗状態にする | ジョブが 1 つでも失敗したときにタスクを失敗として設定する場合は、この入力を選択します。この入力は、既定で選択されています。 |
| ジョブの完了まで待機 | ジョブの実行が完了するまで待機します。この入力は、既定で選択されています。 |
| トレース レベル | ドロップダウン リストからログ レベルを選択します。 |
| ロボット ID | コンマで区切られた特定のロボット名のリストです。 |

YAML パイプライン
[UiPath のジョブを実行] の完全に解析された YAML ドキュメントをプレビューできます。
- task: UiPathRunJob@2 displayName: 'Start ProcessProject' inputs: #orchestratorConnection: 'service-connection-name' # Service connection to UiPath Orchestrator #processName: 'ProccessProject_CI-Pipeline' # The name of the process #parametersFilePath: 'Input\\jobParameters.json' # json file with input values if the process requires them #priority: 'Low' # Options 'Low', 'Normal', 'High' #folderName: 'MyFolder' # Specify the folder to deploy to. For clasic folders, you can use specific robot names. For modern folders, you can use specific user and machine names. #strategy: 'Dynamically' # Options 'Specific', 'Dynamically' #jobCount: 1 # The number of job runs. (default 1) - used if strategy is 'Dynamically' #user: 'MyUser' #machine: 'machine' #robotsIds: 'robot1, robot2' #resultFilePath: 'Output\\testResults.json' #timeout: 3600 #failWhenJobFails: false #waitForJobCompletion: false, #traceLevel: 'None' # Options: Critical, Error, Warning, Information, Verbose, None- task: UiPathRunJob@2 displayName: 'Start ProcessProject' inputs: #orchestratorConnection: 'service-connection-name' # Service connection to UiPath Orchestrator #processName: 'ProccessProject_CI-Pipeline' # The name of the process #parametersFilePath: 'Input\\jobParameters.json' # json file with input values if the process requires them #priority: 'Low' # Options 'Low', 'Normal', 'High' #folderName: 'MyFolder' # Specify the folder to deploy to. For clasic folders, you can use specific robot names. For modern folders, you can use specific user and machine names. #strategy: 'Dynamically' # Options 'Specific', 'Dynamically' #jobCount: 1 # The number of job runs. (default 1) - used if strategy is 'Dynamically' #user: 'MyUser' #machine: 'machine' #robotsIds: 'robot1, robot2' #resultFilePath: 'Output\\testResults.json' #timeout: 3600 #failWhenJobFails: false #waitForJobCompletion: false, #traceLevel: 'None' # Options: Critical, Error, Warning, Information, Verbose, None- task: UiPathRunJob@2 displayName: 'Start ProcessProject' inputs: #orchestratorConnection: 'service-connection-name' # Service connection to UiPath Orchestrator #processName: 'ProccessProject_CI-Pipeline' # The name of the process #parametersFilePath: 'Input\\jobParameters.json' # json file with input values if the process requires them #priority: 'Low' # Options 'Low', 'Normal', 'High' #folderName: 'MyFolder' # Specify the folder to deploy to. For clasic folders, you can use specific robot names. For modern folders, you can use specific user and machine names. #strategy: 'Dynamically' # Options 'Specific', 'Dynamically' #jobCount: 1 # The number of job runs. (default 1) - used if strategy is 'Dynamically' #user: 'MyUser' #machine: 'machine' #robotsIds: 'robot1, robot2' #resultFilePath: 'Output\\testResults.json' #timeout: 3600 #failWhenJobFails: false #waitForJobCompletion: false, #traceLevel: 'None' # Options: Critical, Error, Warning, Information, Verbose, None- task: UiPathRunJob@2 displayName: 'Start ProcessProject' inputs: #orchestratorConnection: 'service-connection-name' # Service connection to UiPath Orchestrator #processName: 'ProccessProject_CI-Pipeline' # The name of the process #parametersFilePath: 'Input\\jobParameters.json' # json file with input values if the process requires them #priority: 'Low' # Options 'Low', 'Normal', 'High' #folderName: 'MyFolder' # Specify the folder to deploy to. For clasic folders, you can use specific robot names. For modern folders, you can use specific user and machine names. #strategy: 'Dynamically' # Options 'Specific', 'Dynamically' #jobCount: 1 # The number of job runs. (default 1) - used if strategy is 'Dynamically' #user: 'MyUser' #machine: 'machine' #robotsIds: 'robot1, robot2' #resultFilePath: 'Output\\testResults.json' #timeout: 3600 #failWhenJobFails: false #waitForJobCompletion: false, #traceLevel: 'None' # Options: Critical, Error, Warning, Information, Verbose, None