UiPath Documentation
uipath-cli
latest
false
UiPath CLI ユーザー ガイド
重要 :
このコンテンツは機械翻訳によって処理されています。 新しいコンテンツの翻訳は、およそ 1 ~ 2 週間で公開されます。

UIP の AOP

「uip aops」ツールを使用して、UiPath StudioAdmin AOps (ソース管理接続、リポジトリ、オートメーション プロジェクト、ソリューション、CI/CD パイプライン、パイプライン実行) を管理します。

uip aops は、ソース管理リポジトリの最上にある自動化インベントリおよび CI/CD レイヤーである StudioAdmin AOps (Automation Ops) を管理します。接続は、テナントを Git プロバイダー (GitHub または Azure DevOps) にリンクします。AOps は、その接続を通じてリポジトリ、オートメーション プロジェクト、Studio ソリューションを検出します。パイプラインは、プロジェクトの CI/CD ビルド/実行構成を定義します。パイプラインの実行ごとに実行が生成されます。実行は検査または停止できます。

これは発見および CI/CD ツールであり、作成ツールではありません。 uip aops プロジェクトのソースを編集することはありません。コネクション自体は、StudioAdmin の UI からプロビジョニングされます。この CLI は、すでにプロビジョニングされている接続を識別子で使用します。

このリソースは 4 ページにまたがっています​

  • このページ — 概念と共有のページネーション規則
  • connections — connection (SourceControl 接続の同期/検査、そのリポジトリ/プロジェクト/ソリューションの検出) とrepo (1 つのリポジトリのブランチとプロジェクト ファイルの検査)。
  • projects — project (1 つのオートメーション プロジェクトのファイル、コンテンツ、コミット履歴を検査する) とsolution (Studio ソリューションでも同じ)
  • pipelines — pipeline (CRUD + CI/CD パイプラインの実行) と execution (ログの検査/ストリーム/パイプライン実行の停止)。

概念​

  • 2 つのバッキング サービス、2 つの SDK。connection、 repo、 project、および solution は、 ソース管理 (SC) サービス (@uipath/sc-sdk) を呼び出します。pipeline と execution CICD サービス (@uipath/cicd-sdk) を呼び出します。これらは独立した識別子名前空間であり、コネクション ID は決してパイプライン ID ではありません。
  • 一般的なフロー: connection list (接続の検索) → connection sync --wait (更新)、→ connection projects <id> / connection repos <id> (内容の検出)、→ pipeline create --file (検出されたプロセスに対する CI/CD パイプラインの定義) → pipeline run または pipeline save-and-run → execution logs --follow (完了するまで見守る)。
  • ページネーションの規則。ページ分割されたリスト動詞はすべて --offset/--limit を受け入れます (ページベース: --offset の倍数である必要があります --limitでなければ、コマンドはネットワーク呼び出しの前にクライアント側で失敗します)。既定値は動詞ごとに異なります — 各兄弟のページに記載されています。
  • --login-validity <minutes>は、6 つのコマンド グループすべての動詞で利用可能です。これは、その 1 つの呼び出しの対話型ログイン トークンの有効期間を上書きします。必要になることはほとんどありません。
  • 破壊的な操作には -y, --yesが必要です。connection delete と pipeline delete どちらも、接続がないとすぐに失敗します。この CLI は対話的にプロンプトを表示しません。
  • ファンアウトは劣化しますが、完全に失敗するわけではありません。project list (クロスコネクション アグリゲーター) は、表示されているすべてのコネクションを並行してクエリを実行します。一部のコネクションを読み取れない場合でも、到達可能なプロジェクトは、スキップされたコネクションの名前を付けた Warning とともに返されます。すべての接続の失敗のみがハード エラーです。

概要​

uip aops connection list
uip aops connection state [--connection <id>]
uip aops connection sync [connection-id] [--wait] [--timeout <ms>] [--poll-interval <ms>]
uip aops connection delete <connection-id> -y
uip aops connection repos <connection-id> [--azure-projects-ids <csv>] [--organization-identifier <name>]
uip aops connection repos-bulk --ids <csv>
uip aops connection projects <connection-id> [--repository-ids <csv>] [--target-framework <name>] [--project-type <type>] [--sort-by <field>] [--sort-order <asc|desc>] [--offset <n>] [--limit <n>] [--search <term>]
uip aops connection solutions <connection-id> [--offset <n>] [--limit <n>] [--search <term>]
uip aops connection azure-projects <connection-id> [--organization-identifier <name>]

uip aops repo branches <repo-id>
uip aops repo project-files <repo-id> [--reference <ref>]

uip aops project list [--connections <csv>] [--target-framework <name>] [--project-type <type>] [--offset <n>] [--limit <n>] [--search <term>]
uip aops project get --project-id <id> [--reference <ref>] [--with-branches]
uip aops project files --project-id <id> [--path <path>] [--reference <ref>]
uip aops project content --project-id <id> --path <path> [--reference <ref>]
uip aops project commits --project-id <id> [--path <path>] [--branch <name>] [--offset <n>] [--limit <n>] [--search <term>]
uip aops project commit --project-id <id> --reference <sha>

uip aops solution get <solution-id>
uip aops solution commits <solution-id> [--path <path>] [--branch <name>] [--offset <n>] [--limit <n>] [--search <term>]

uip aops pipeline list [--repository-ids <csv>] [--offset <n>] [--limit <n>] [--search <term>]
uip aops pipeline state
uip aops pipeline processes
uip aops pipeline process <process-id>
uip aops pipeline repos
uip aops pipeline get <pipeline-id> [--for-update] [--output-file <path>]
uip aops pipeline search [--name <name> | --prefix <prefix>]
uip aops pipeline create --file <path> [--telemetry-flow-id <id>]
uip aops pipeline update <pipeline-id> --file <path>
uip aops pipeline delete <pipeline-id> -y
uip aops pipeline run <pipeline-id>
uip aops pipeline save-and-run --file <path> [--telemetry-flow-id <id>]
uip aops pipeline executions <pipeline-id> [--offset <n>] [--limit <n>]
uip aops pipeline executions-bulk --ids <csv>

uip aops execution get <execution-id> [--with-arguments]
uip aops execution logs [execution-id] [--job-key <key>] [--follow] [--limit <n>] [--poll-interval <ms>] [--timeout <ms>]
uip aops execution details [execution-id] [--job-key <key>]
uip aops execution stop [execution-id] [--job-key <key>] [--wait] [--poll-interval <ms>] [--timeout <ms>]
uip aops connection list
uip aops connection state [--connection <id>]
uip aops connection sync [connection-id] [--wait] [--timeout <ms>] [--poll-interval <ms>]
uip aops connection delete <connection-id> -y
uip aops connection repos <connection-id> [--azure-projects-ids <csv>] [--organization-identifier <name>]
uip aops connection repos-bulk --ids <csv>
uip aops connection projects <connection-id> [--repository-ids <csv>] [--target-framework <name>] [--project-type <type>] [--sort-by <field>] [--sort-order <asc|desc>] [--offset <n>] [--limit <n>] [--search <term>]
uip aops connection solutions <connection-id> [--offset <n>] [--limit <n>] [--search <term>]
uip aops connection azure-projects <connection-id> [--organization-identifier <name>]

uip aops repo branches <repo-id>
uip aops repo project-files <repo-id> [--reference <ref>]

uip aops project list [--connections <csv>] [--target-framework <name>] [--project-type <type>] [--offset <n>] [--limit <n>] [--search <term>]
uip aops project get --project-id <id> [--reference <ref>] [--with-branches]
uip aops project files --project-id <id> [--path <path>] [--reference <ref>]
uip aops project content --project-id <id> --path <path> [--reference <ref>]
uip aops project commits --project-id <id> [--path <path>] [--branch <name>] [--offset <n>] [--limit <n>] [--search <term>]
uip aops project commit --project-id <id> --reference <sha>

uip aops solution get <solution-id>
uip aops solution commits <solution-id> [--path <path>] [--branch <name>] [--offset <n>] [--limit <n>] [--search <term>]

uip aops pipeline list [--repository-ids <csv>] [--offset <n>] [--limit <n>] [--search <term>]
uip aops pipeline state
uip aops pipeline processes
uip aops pipeline process <process-id>
uip aops pipeline repos
uip aops pipeline get <pipeline-id> [--for-update] [--output-file <path>]
uip aops pipeline search [--name <name> | --prefix <prefix>]
uip aops pipeline create --file <path> [--telemetry-flow-id <id>]
uip aops pipeline update <pipeline-id> --file <path>
uip aops pipeline delete <pipeline-id> -y
uip aops pipeline run <pipeline-id>
uip aops pipeline save-and-run --file <path> [--telemetry-flow-id <id>]
uip aops pipeline executions <pipeline-id> [--offset <n>] [--limit <n>]
uip aops pipeline executions-bulk --ids <csv>

uip aops execution get <execution-id> [--with-arguments]
uip aops execution logs [execution-id] [--job-key <key>] [--follow] [--limit <n>] [--poll-interval <ms>] [--timeout <ms>]
uip aops execution details [execution-id] [--job-key <key>]
uip aops execution stop [execution-id] [--job-key <key>] [--wait] [--poll-interval <ms>] [--timeout <ms>]
  • connections — ソース管理の接続とリポジトリです。
  • projects — オートメーション プロジェクトと Studio のソリューション
  • pipelines — CI/CD パイプラインと実行

参照​

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

接続

ヘルプ リソース サポート

学習する UiPath アカデミー

質問する UiPath フォーラム

最新情報を取得