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

UIP AOPS プロジェクト

「uip aops project」および「uip aops ソリューション」の構文とオプションです。ソース管理接続を介して検出されたオートメーション プロジェクトと Studio ソリューションを検査します。

uip aops project は、1 つのオートメーション プロジェクトのファイル、コンテンツ、コミット履歴を調べます。uip aops solution Studio のソリューションでも同じことを行います。どちらも、基になる Git リポジトリに対しては読み取り専用です。最初に connection projects/connection solutionsで識別子を検出します。共通の概念については、「 uip aops の概要 」をご覧ください。

概要​

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 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 プロジェクトのリスト​

表示されている すべての SourceControl 接続 (クロスコネクション アグリゲーター — 他のほとんどの project 動詞は 1 つのプロジェクトを --project-idで対象としています) にまたがるプロジェクトのリストを取得します。

オプション​

長押し値 (Value)説明
--connections <csv>コンマ区切り展開先の接続識別子です。表示されているすべてのコネクションが既定で使用されます。
--target-framework <name>stringプロジェクトのターゲット フレームワークに対するサーバー側のフィルター。
--project-type <type>stringプロジェクトの種類に対するサーバー側のフィルター (例:Process、 Library、 Agent。
--offset <n>integer接続ごとにスキップする数。の倍数である必要があります--limit既定 0です。
--limit <n>integer接続ごとに返される最大値です。既定 10です。
--search <term>stringプロジェクト名に対するサーバー側の部分文字列フィルター。
注:

これはすべての接続に並行して展開され、 失敗するのではなく劣化します:一部の接続を読み取ることができない場合、到達可能なプロジェクトは引き続き返され、エンベロープにはスキップされた接続に名前を付けた Warning が記載されます。エラーとなるのは、すべての接続の合計失敗のみです。--log-level warn で再実行して、各接続の基になるエラーを確認します。

uip aops project list

uip aops project list --connections f1e2d3c4-0000-0000-0000-000000000001 --search invoice
uip aops project list

uip aops project list --connections f1e2d3c4-0000-0000-0000-000000000001 --search invoice

データシェイプ(--output json)​

{
  "Code": "ProjectList",
  "Data": [
    { "ProjectId": "9999dddd-0000-0000-0000-000000000001", "Name": "Invoice Processing", "Description": "Daily invoice ingest", "Type": "Process", "Repository": "automation-hub" }
  ]
}
{
  "Code": "ProjectList",
  "Data": [
    { "ProjectId": "9999dddd-0000-0000-0000-000000000001", "Name": "Invoice Processing", "Description": "Daily invoice ingest", "Type": "Process", "Repository": "automation-hub" }
  ]
}

UIP AOPS プロジェクト Get​

指定した参照でプロジェクトのメタデータを取得します。

オプション​

長押し値 (Value)Required説明
--project-id <id>string○SC サービス UUI connection projectsD です。
--reference <ref>ブランチ/タグ/SHA×既定値は既定のブランチの HEAD です。
--with-branchesフラグ×また、ブランチのリスト全体を取得し、 として含め availableBranches。往復1回追加。
uip aops project get --project-id 9999dddd-0000-0000-0000-000000000001

uip aops project get --project-id 9999dddd-0000-0000-0000-000000000001 --with-branches
uip aops project get --project-id 9999dddd-0000-0000-0000-000000000001

uip aops project get --project-id 9999dddd-0000-0000-0000-000000000001 --with-branches

データシェイプ(--output json)​

{
  "Code": "ProjectGet",
  "Data": {
    "identifier": "9999dddd-0000-0000-0000-000000000001",
    "name": "Invoice Processing",
    "description": "Daily invoice ingest",
    "type": "Process",
    "projectVersion": "1.2.0",
    "repository": "automation-hub",
    "defaultBranch": "main"
  }
}
{
  "Code": "ProjectGet",
  "Data": {
    "identifier": "9999dddd-0000-0000-0000-000000000001",
    "name": "Invoice Processing",
    "description": "Daily invoice ingest",
    "type": "Process",
    "projectVersion": "1.2.0",
    "repository": "automation-hub",
    "defaultBranch": "main"
  }
}

--with-branchesを使用すると、Data availableBranches: ["main", "release", "feature/x"]が追加されます。プロジェクトのリポジトリを解決してブランチを列挙できない場合、 availableBranches 空の配列で、失敗ではなく警告がログに記録されます。

UIP AOPS プロジェクト ファイル​

指定した参照にあるプロジェクトのファイル ツリーのリストを取得します。

オプション​

長押し値 (Value)Required説明
--project-id <id>string○SC サービス UUID です。
--path <path>string×一覧表示するサブディレクトリです。既定値はプロジェクトのルートです。
--reference <ref>ブランチ/タグ/SHA×既定値は既定のブランチの HEAD です。

データシェイプ(--output json)​

{ "Code": "ProjectFiles", "Data": [] }
{ "Code": "ProjectFiles", "Data": [] }

エントリごとに 1 つの行と、名前、パス、種類、およびビルド可能な単位の種類を示します。

UIP AOPS プロジェクトのコンテンツ​

プロジェクト内の 1 つのファイルの未加工コンテンツを取得します。

オプション​

長押し値 (Value)Required説明
--project-id <id>string○SC サービス UUID です。
--path <path>string○プロジェクトのルートを基準としたファイル パスです。
--reference <ref>ブランチ/タグ/SHA×既定値は既定のブランチの HEAD です。

データシェイプ(--output json)​

{ "Code": "ProjectFileContent", "Data": { "fileContent": "<xaml…>" } }
{ "Code": "ProjectFileContent", "Data": { "fileContent": "<xaml…>" } }

解決できない --pathと--reference の組み合わせは、空の成功ではなく Project file '<path>' not found. で失敗します。

UIP AOPS プロジェクトのコミット​

プロジェクトのコミット履歴の一覧を表示します。--project-idのみが対象です。このエンドポイントには、場所ベースの (リポジトリ/参照) バリアントはありません。

オプション​

長押し値 (Value)Required説明
--project-id <id>string○SC サービス UUID です。
--path <path>string×フィルターを適用し、このパスに接触するコミットに絞り込んでください。
--branch <name>string×フィルターを適用して 1 つの分岐に絞り込む。既定では既定の分岐です。
--offset <n>integer×スキップする番号。の倍数である必要があります--limit既定 0です。
--limit <n>integer×返される最大値。既定 20です。
--search <term>string×コミット メッセージのサーバー側の部分文字列フィルター。

データシェイプ(--output json)​

{ "Code": "ProjectCommits", "Data": { "result": [] } }
{ "Code": "ProjectCommits", "Data": { "result": [] } }

UIP AOPS プロジェクトのコミット​

SHA で単一のコミットを取得します。

オプション​

長押し値 (Value)Required説明
--project-id <id>string○SC サービス UUID です。
--reference <sha>コミットの SHA○コミットに解決されるブランチ/タグも受け入れます。

データシェイプ(--output json)​

{ "Code": "ProjectCommit", "Data": { "Reference": "0123456789abcdef0123456789abcdef01234567", "Message": "Initial commit" } }
{ "Code": "ProjectCommit", "Data": { "Reference": "0123456789abcdef0123456789abcdef01234567", "Message": "Initial commit" } }

解決されない場合は Commit <reference> not found. で失敗します。

UIP AOPS ソリューションの取得​

識別子 (永続化されたソリューションの DTO) (名前、識別子、ソース リポジトリ、既定のブランチ、最終更新日情報) で Studio ソリューションのメタデータを取得する。

引数​

名前Required目的
<solution-id>○connection solutions <connection-id>のソリューション識別子です。

データシェイプ(--output json)​

{ "Code": "SolutionGet", "Data": { "identifier": "abcd5678-0000-0000-0000-000000000001", "name": "Finance Suite" } }
{ "Code": "SolutionGet", "Data": { "identifier": "abcd5678-0000-0000-0000-000000000001", "name": "Finance Suite" } }

UIP AOPS ソリューションのコミット​

ソリューションのコミット履歴を一覧表示します。

引数​

名前Required目的
<solution-id>○connection solutions <connection-id>のソリューション識別子です。

オプション​

長押し値 (Value)説明
--path <path>stringフィルターを適用し、このパスに接触するコミットに絞り込んでください。
--branch <name>stringフィルターを適用して 1 つの分岐に絞り込む。既定では既定の分岐です。
--offset <n>integerスキップする番号。の倍数である必要があります--limit既定 0です。
--limit <n>integer返される最大値。既定 20です。
--search <term>stringコミット メッセージのサーバー側の部分文字列フィルター。

データシェイプ(--output json)​

{ "Code": "SolutionCommits", "Data": { "result": [] } }
{ "Code": "SolutionCommits", "Data": { "result": [] } }
  • uip aops — 概要と概念
  • connections — プロジェクト/ソリューションの識別子を検出します。
  • pipelines — プロジェクトに対して CI/CD パイプラインを定義して実行します。

参照​

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

接続

ヘルプ リソース サポート

学習する UiPath アカデミー

質問する UiPath フォーラム

最新情報を取得