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

uip solution deploy

「uip solution deploy」の構文とオプション。このデプロイは、Orchestrator にソリューションのデプロイをインストール、アップグレード、アクティブ化、アンインストールします。

uip solution deploy パブリッシュ済みのソリューション パッケージ (uip solution publishを参照) を Orchestrator にインストールします。フォルダーの作成、リソース (キュー、アセット、プロセス、バケット、コネクション) のプロビジョニング、デプロイのアクティブ化を行います。

このページでは、 のすべてのサブコマンドについて説明します deploy。

注:

run, status, list, and config get accept --feed <name-or-key> to work with a folder feed. Refer to uip solution feeds to list the feeds you can reach. For more information about folder feeds, refer to Solution feed in the Solutions Management documentation.

サブコマンド目的
runパブリッシュされたパッケージからデプロイをインストールします。
upgrade既存のデプロイを、そのパッケージの別のパブリッシュ済みバージョンに移動します。
status名前またはキーでデプロイの状態、またはパイプライン デプロイの実行の進行状況を確認します。
list既存のデプロイを一覧表示します。
activate自動アクティブ化せずにインストールされたデプロイをアクティブ化します。
uninstallデプロイとそのプロビジョニングされたリソースを削除します。
delete削除できないデプロイ レコードを削除 uninstall 。
config getパッケージの既定のデプロイ設定を取得します。
config setデプロイ構成ファイルでリソース プロパティを設定します。
config linkソリューション リソースを既存の Orchestrator リソースにリンクします。
config unlinkデプロイ構成ファイルからリソース リンクを削除します。

すべてのサブコマンドが認証されます。最初に uip login を実行します。

一般的なワークフロー​

deploy config get  →  deploy config set / link  →  deploy run  →  deploy status
                                                       │
                                                       ├─→ deploy activate   (if not auto-activated)
                                                       ├─→ deploy upgrade    (new package version, same deployment)
                                                       └─→ deploy uninstall  (tear down)  →  deploy delete
deploy config get  →  deploy config set / link  →  deploy run  →  deploy status
                                                       │
                                                       ├─→ deploy activate   (if not auto-activated)
                                                       ├─→ deploy upgrade    (new package version, same deployment)
                                                       └─→ deploy uninstall  (tear down)  →  deploy delete

deploy run キーは --nameです。まだ存在しない名前は、新しいフォルダーに新しいデプロイを取得します。パッケージが既にデプロイされている場合は、 deploy run停止して deploy upgradeを指し、既存のデプロイを別のバージョンに移動します。2 つ目の個別のコピーをインストールするには、別の--nameで -y, --yes渡します。


uip solution deploy run​

パブリッシュされたパッケージから Orchestrator にソリューションのデプロイをインストールします。新しいフォルダー ( --parent-folder-path または --parent-folder-key、または現在のユーザーの個人用ワークスペース) を作成し、パッケージ (または --config-file) に記述されているすべてのリソースをプロビジョニングし、 --skip-activate が設定されていない限り、そのリソースをアクティブ化します。

デプロイのキーは --nameです。インストールする前に、このコマンドはパッケージに既にデプロイがあるかどうかを確認します。表示されている場合は、停止して deploy upgradeを指定します。このチェックはベストエフォートです。ルックアップが失敗した場合は警告のみが表示され、外部アプリケーション (クライアント資格情報) ログイン時に既存のデプロイは、デプロイを停止するのではなく警告として報告されます。

パッケージは、インストールする前にターゲットに対して検証されます。検証に失敗すると、実行は Instructionsのエラーで ValidationFailed 時に終了し、何もインストールされません。拒否された試行は保留中の下書きとして保持されます。設定を修正して同じコマンドを再実行すると、サーバーは新しいファイルで下書きを再度検証します。ファイルで名前が付けられていない設定とリソース リンクには、下書きが却下された値が保持されます。

After the package is installed, the command checks that the deployment's folder has a runtime for the unattended jobs of its RPA processes, test cases, and MCP servers, for example an Unattended or serverless machine. A missing runtime does not fail the deploy: it is reported in Data.Warnings and on stderr. Refer to Folder runtime warnings.

While the command waits, it writes a progress line to stderr each time the status changes, and at least every 30 seconds. --log-level error turns the progress lines off.

概要​

uip solution deploy run \
  --name <deployment-name> \
  --package-name <name> \
  --package-version <version> \
  --folder-name <name> \
  [--parent-folder-path <path> | --parent-folder-key <guid> | --personal-workspace] \
  [--feed <name-or-key>] \
  [--config-file <path>] \
  [--skip-activate] \
  [-y, --yes] \
  [--acknowledge-permanent-deletion] \
  [--timeout <seconds>] \
  [--poll-interval <ms>] \
  [--login-validity <minutes>]
uip solution deploy run \
  --name <deployment-name> \
  --package-name <name> \
  --package-version <version> \
  --folder-name <name> \
  [--parent-folder-path <path> | --parent-folder-key <guid> | --personal-workspace] \
  [--feed <name-or-key>] \
  [--config-file <path>] \
  [--skip-activate] \
  [-y, --yes] \
  [--acknowledge-permanent-deletion] \
  [--timeout <seconds>] \
  [--poll-interval <ms>] \
  [--login-validity <minutes>]

オプション​

長押し値 (Value)既定 (Default)説明
-n, --name <deployment-name>text—必須。デプロイの名前。deploy status、deploy upgrade、deploy activate、deploy uninstall、および deploy delete がこのインストールを識別するために使用します。
--package-name <name>text—必須。ソリューション パッケージ名。packages list を使用して使用可能な名前を検索します。
--package-version <version>text—必須。ソリューション パッケージのバージョンです。
--folder-name <name>text—必須。このデプロイ用に作成された新しい Orchestrator フォルダーの名前です。
--parent-folder-path <path>パス—親フォルダーのパス (例: Shared)。その下にデプロイ フォルダーが作成されます。--parent-folder-key および --personal-workspaceと相互に排他的です。
--parent-folder-key <key>GUID—親フォルダー キー。--parent-folder-pathの代替手段です。
--personal-workspaceフラグ無効現在のユーザーの [個人用ワークスペース] にデプロイします。ワークスペース名は Orchestrator から自動的に解決されます。ユーザー ログインが必要です。外部アプリケーションに個人用ワークスペースがありません。--parent-folder-path、--parent-folder-key、--feedと相互に排他的です。
--feed <name-or-key>textテナント フィードテナント フィードではなくこのフィード (solution feeds listの名前またはフォルダー キー) にパブリッシュされたパッケージをデプロイします。このスコープは、 パッケージのソース です。 --parent-folder-path/--parent-folder-key/--personal-workspace フラグは、引き続き Orchestrator フォルダーを作成する 場所 を制御します。ユーザー ログインが必要です。外部アプリケーションのログインが、テナント フィードにデプロイされる代わりに拒否された--personal-workspaceと相互に排他的です。
--config-file <path>パス—JSON または YAML 構成ファイル。deploy config getで生成し、config set / config linkで編集して、ここに渡します。
--skip-activateフラグ無効自動アクティブ化をスキップします。デプロイを Inactive (Ready to activate) ステートのままにします。後で deploy activateでアクティベーションします。
-y, --yesフラグ無効このパッケージに既にデプロイがある場合でもデプロイしてください。タイムアウトが設定されていない場合、コマンドはパッケージを検索し、既にデプロイされている場合は停止します。このチェックはベストエフォートです。ルックアップが失敗した場合は警告のみが表示され、外部アプリケーション (クライアント資格情報) ログイン時に既存のデプロイは、デプロイを停止するのではなく警告として報告されます。--yes はチェックをスキップするだけです。既存のデプロイの --name を再利用すると、そのデプロイが更新されます。別のコピーに別の --name を渡します。
--acknowledge-permanent-deletionフラグ無効このデプロイによってリンクに置き換えられるインストール済みリソースが、そのデータとともに完全に削除されていることを確認します。これがない場合、デプロイはサーバーの確認要求で停止し、それらのリソースを一覧表示し、何もインストールしません。これにより、CLI はリストされた各リソースを確認し、同じインストールを同じ --timeout内でもう一度実行します。--yesとは無関係です。「 置換されたリソースを完全に削除する」をご覧ください。
--timeout <seconds>秒360ポーリング タイムアウトはフェーズごとに適用されます — デプロイし、(スキップされない場合) アクティブ化します。
--poll-interval <ms>ミリ秒5000デプロイ フェーズとアクティブ化フェーズでのステータス ポーリング間の間隔 (ミリ秒)。
--login-validity <minutes>分10更新をトリガーするまでの最小分単位: トークンの有効期限が切れるまでの最小分単位です。
共通​
uip solution deploy run \
  --name my-deployment \
  --package-name my-package \
  --package-version 1.0.0 \
  --folder-name MySolution \
  --parent-folder-path "Shared"
uip solution deploy run \
  --name my-deployment \
  --package-name my-package \
  --package-version 1.0.0 \
  --folder-name MySolution \
  --parent-folder-path "Shared"
自動アクティブ化をスキップ​
uip solution deploy run \
  --name my-deployment \
  --package-name my-package --package-version 1.0.0 \
  --folder-name MySolution --parent-folder-path "Shared" \
  --skip-activate
uip solution deploy run \
  --name my-deployment \
  --package-name my-package --package-version 1.0.0 \
  --folder-name MySolution --parent-folder-path "Shared" \
  --skip-activate
個人用ワークスペース内​
uip solution deploy run \
  --name my-deployment \
  --package-name my-package --package-version 1.0.0 \
  --folder-name MySolution --personal-workspace
uip solution deploy run \
  --name my-deployment \
  --package-name my-package --package-version 1.0.0 \
  --folder-name MySolution --personal-workspace
既にデプロイ済みのパッケージの 2 番目の独立したコピー​
uip solution deploy run \
  --name my-deployment-2 \
  --package-name my-package --package-version 1.0.0 \
  --folder-name MySolutionCopy --parent-folder-path "Shared" --yes
uip solution deploy run \
  --name my-deployment-2 \
  --package-name my-package --package-version 1.0.0 \
  --folder-name MySolutionCopy --parent-folder-path "Shared" --yes
フォルダー フィードから​
uip solution deploy run \
  --name my-deployment \
  --package-name my-package --package-version 1.0.0 \
  --folder-name MySolution --feed Finance
uip solution deploy run \
  --name my-deployment \
  --package-name my-package --package-version 1.0.0 \
  --folder-name MySolution --feed Finance
カスタマイズされた構成​
uip solution deploy config get my-package -d ./deploy-config.json
uip solution deploy config set ./deploy-config.json MyQueue maxNumberOfRetries 5

uip solution deploy run \
  --name my-deployment \
  --package-name my-package --package-version 1.0.0 \
  --folder-name MySolution --parent-folder-path "Shared" \
  --config-file ./deploy-config.json
uip solution deploy config get my-package -d ./deploy-config.json
uip solution deploy config set ./deploy-config.json MyQueue maxNumberOfRetries 5

uip solution deploy run \
  --name my-deployment \
  --package-name my-package --package-version 1.0.0 \
  --folder-name MySolution --parent-folder-path "Shared" \
  --config-file ./deploy-config.json
スクリプティング — フォローアップ コールのデプロイ ID をキャプチャします。​
PIPELINE_ID=$(uip solution deploy run \
  --name my-deployment \
  --package-name my-package --package-version 1.0.0 \
  --folder-name MySolution --parent-folder-path "Shared" \
  --output-filter "PipelineDeploymentId" --output plain)

uip solution deploy status "$PIPELINE_ID"
PIPELINE_ID=$(uip solution deploy run \
  --name my-deployment \
  --package-name my-package --package-version 1.0.0 \
  --folder-name MySolution --parent-folder-path "Shared" \
  --output-filter "PipelineDeploymentId" --output plain)

uip solution deploy status "$PIPELINE_ID"

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

コマンドは、デプロイが完了するまで待機し、 で制限されます--timeout

{
  "Code": "SolutionDeployRun",
  "Data": {
    "Status": "DeploymentSucceeded",
    "OrchestratorUrl": "https://cloud.uipath.com/my-org/my-tenant/orchestrator_/solutions-management/deployments(sidepanel:sidepanel/solutions-management/deployment-details/a1b2c3d4-0000-0000-0000-000000000001/overview)?allowBindings=true",
    "FolderUrl": "https://cloud.uipath.com/my-org/my-tenant/orchestrator_/processes?fkey=d4e5f6a7-0000-0000-0000-000000000001",
    "DeploymentKey": "a1b2c3d4-0000-0000-0000-000000000001",
    "PipelineDeploymentId": "b2c3d4e5-0000-0000-0000-000000000001",
    "InstanceId": "c3d4e5f6-0000-0000-0000-000000000001",
    "FolderName": "MySolution",
    "FolderPath": "Shared/MySolution",
    "ActivationStatus": "SuccessfulActivate"
  }
}
{
  "Code": "SolutionDeployRun",
  "Data": {
    "Status": "DeploymentSucceeded",
    "OrchestratorUrl": "https://cloud.uipath.com/my-org/my-tenant/orchestrator_/solutions-management/deployments(sidepanel:sidepanel/solutions-management/deployment-details/a1b2c3d4-0000-0000-0000-000000000001/overview)?allowBindings=true",
    "FolderUrl": "https://cloud.uipath.com/my-org/my-tenant/orchestrator_/processes?fkey=d4e5f6a7-0000-0000-0000-000000000001",
    "DeploymentKey": "a1b2c3d4-0000-0000-0000-000000000001",
    "PipelineDeploymentId": "b2c3d4e5-0000-0000-0000-000000000001",
    "InstanceId": "c3d4e5f6-0000-0000-0000-000000000001",
    "FolderName": "MySolution",
    "FolderPath": "Shared/MySolution",
    "ActivationStatus": "SuccessfulActivate"
  }
}

OrchestratorUrl opens the deployment in Orchestrator, and FolderUrl opens the automations of the folder it was installed into. Either field is absent when the CLI cannot build the link, for example when the installed folder cannot be read. With --log-level info, the Orchestrator link is also written to stderr as Deployed: <url>.

インストール済みの、アクティブ化する前に Orchestrator で セットアップをアクティベーション する必要があるデプロイは、 とともに Result: Success を返します ActivationStatus: NeedsSetupToActivate。再度デプロイしないでください。表示されているリソースを設定し、アクティブ化します。

{
  "Code": "SolutionDeployRun",
  "Data": {
    "Status": "DeploymentSucceeded",
    "DeploymentKey": "a1b2c3d4-0000-0000-0000-000000000003",
    "PipelineDeploymentId": "b2c3d4e5-0000-0000-0000-000000000003",
    "InstanceId": null,
    "FolderName": "MySolution",
    "FolderPath": "Shared/MySolution",
    "ActivationStatus": "NeedsSetupToActivate",
    "PendingResources": [
      {
        "Kind": "connection",
        "Name": "Outlook",
        "Type": "uipath-microsoft-outlook365",
        "Reason": "[CNS1072] You will need to authenticate this connection before proceeding further"
      }
    ],
    "NextSteps": [
      "Deployment 'my-deployment' is installed at version 1.0.0 but not live: it needs 'Setup activation' before it can be activated.",
      "Resources that need configuration: connection 'Outlook' (uipath-microsoft-outlook365): [CNS1072] You will need to authenticate this connection before proceeding further."
    ]
  }
}
{
  "Code": "SolutionDeployRun",
  "Data": {
    "Status": "DeploymentSucceeded",
    "DeploymentKey": "a1b2c3d4-0000-0000-0000-000000000003",
    "PipelineDeploymentId": "b2c3d4e5-0000-0000-0000-000000000003",
    "InstanceId": null,
    "FolderName": "MySolution",
    "FolderPath": "Shared/MySolution",
    "ActivationStatus": "NeedsSetupToActivate",
    "PendingResources": [
      {
        "Kind": "connection",
        "Name": "Outlook",
        "Type": "uipath-microsoft-outlook365",
        "Reason": "[CNS1072] You will need to authenticate this connection before proceeding further"
      }
    ],
    "NextSteps": [
      "Deployment 'my-deployment' is installed at version 1.0.0 but not live: it needs 'Setup activation' before it can be activated.",
      "Resources that need configuration: connection 'Outlook' (uipath-microsoft-outlook365): [CNS1072] You will need to authenticate this connection before proceeding further."
    ]
  }
}

--skip-activateでは、ActivationStatusは Skippedになります。

RequestedFolderName と FolderNote は、要求された --folder-name がすでに実行されている場合にのみ表示されます。 Orchestrator はフォルダーを再利用するのではなく競合で名前を変更するため、実際の FolderName/FolderPath は要求されたものとは異なります。 FolderNote は、名前を変更したフォルダーを使用するか、フリー名で再実行するかを選択するためのポインターとともに説明します。

ターミナルのデプロイのステータス: DeploymentSucceeded、DeploymentFailed、ValidationFailed、ConflictFixingError、DeploymentScheduleError非成功 ターミナル ステートは 1 で終了し、検証/競合/スケジュール/ワークフロー エラーを [ Instructions ] フィールドに集約します。

Folder runtime warnings​

deploy run and deploy upgrade check the deployment's folder after the install. The check covers RPA processes, test cases, and MCP servers. Apps, agents, flows, API workflows, functions, cases, and BPMN processes need no machine in the folder and are not checked. A process linked to an existing process is not checked either, because its jobs run in the folder of the linked process.

The command still returns Result: Success. Data.Warnings is present only when there is something to report, and each entry is also written to stderr:

{
  "Code": "SolutionDeployRun",
  "Data": {
    "Status": "DeploymentSucceeded",
    "DeploymentKey": "a1b2c3d4-0000-0000-0000-000000000004",
    "PipelineDeploymentId": "b2c3d4e5-0000-0000-0000-000000000004",
    "InstanceId": "c3d4e5f6-0000-0000-0000-000000000004",
    "FolderName": "MySolution",
    "FolderPath": "Shared/MySolution",
    "ActivationStatus": "SuccessfulActivate",
    "Warnings": [
      "Folder 'Shared/MySolution' has no runtime for unattended jobs of the Process process 'InvoiceBot' (...): its triggers and the jobs Orchestrator starts will not run until one is assigned. ..."
    ]
  }
}
{
  "Code": "SolutionDeployRun",
  "Data": {
    "Status": "DeploymentSucceeded",
    "DeploymentKey": "a1b2c3d4-0000-0000-0000-000000000004",
    "PipelineDeploymentId": "b2c3d4e5-0000-0000-0000-000000000004",
    "InstanceId": "c3d4e5f6-0000-0000-0000-000000000004",
    "FolderName": "MySolution",
    "FolderPath": "Shared/MySolution",
    "ActivationStatus": "SuccessfulActivate",
    "Warnings": [
      "Folder 'Shared/MySolution' has no runtime for unattended jobs of the Process process 'InvoiceBot' (...): its triggers and the jobs Orchestrator starts will not run until one is assigned. ..."
    ]
  }
}
Warning意味
Folder '<path>' has no runtime for unattended jobs of the <type> process '<name>' ...Triggers and jobs that Orchestrator starts do not run until a machine with the right slots is assigned to the folder. Running the process attended from Assistant is not affected.
Folder '<path>' has no serverless runtime for the <type> process '<name>' ...The process does not start until a serverless machine is assigned to the folder.
Could not check that ... has the runtimes the package's processes need: <reason> ...The check did not run. The deploy is not affected.

Each warning names the commands that fix it: uip or machines list, uip or machines assign <machine-key> --folder-path <path>, and uip or folders runtimes --folder-path <path> to check the result. Do not deploy again; assign the machine.

置き換えられたリソースの完全な削除​

デプロイメントまたはアップグレードによってインストール済みリソースがリンクに置き換えられると (たとえば、deploy config link 後)、サーバーは実行を続行すると、インストール済みリソースとそのデータを完全に削除します。最初に確認を求められます。削除が確認されるまで、実行は DeploymentScheduleError で停止します。このセクションは、deploy run と deploy upgradeの両方に適用されます。

を --acknowledge-permanent-deletionしないと、コマンドは終了コード 1、 ErrorCode: invalid_argument、 Retry: RetryWillNotFixで失敗します。何もインストールされず、試行は保留中の下書きとして保持されます。このメッセージでは、削除する各リソースに名前が付けられます。失敗エンベロープの Data には、リソースごとに 1 つのエントリ PipelineDeploymentId、 DeploymentKey (保持される下書き)、および PermanentDeletionResourcesが格納されます。

フィールド説明
Keyデプロイのリソース キー。
Kindサーバーが報告するリソースの種類 ( nullです。
Nameリソース名、名前がない場合はそのキーです。

Instructions 名前を両方に指定します。

  • 削除を確定するには、 で同じコマンドを再実行 --acknowledge-permanent-deletion。
  • インストール済みのコピーを deploy runに保持するには、 を使用してこれらのリンクを deploy config unlinkを使用して--config-fileから削除してから、再実行します。deploy upgradeで、下書きを破棄してこれらのリンクなしでアップグレードするか、最初に Orchestrator のデプロイからリンクを削除します。

--acknowledge-permanent-deletionを使用すると、コマンドはサーバーが確認を希望するリソースを読み取り、各リソースを確認してから、同じインストールをもう一度実行します。削除の確認のみで、名前を付けることができます。

  • リソースのリストを読み取れない場合、何も確認応答されず、何もインストールされず、コマンドは失敗します。
  • サーバーが確認応答を拒否した場合、インストールは再度実行されません。失敗前に確認されたリソースは、下書きで確認されたままになります。404は、サーバーが確認ルートをまだ提供していないことを意味します。代わりに、Orchestrator で削除を確定してください。
  • 実行中にデプロイが変更された場合、インストールは再度実行されず Instructions 、確認が名前でデプロイに送信されるので、Orchestrator でデプロイを確認するように求められます。
  • リストされたすべてのリソースが確認された後にサーバーが再度確認を求めると、コマンドはループするのではなく停止します。

再実行インストールが成功すると、削除されたリソースが Data.PermanentlyDeletedResourcesに表示されます。再実行が実行前に拒否された場合、まだ何も削除されませんが、確認は保持されたドラフトに残るため、同じコマンドを再度実行すると、確認せずにそれらのリソースが削除されます。

タイムアウト時の動作​

--timeout が経過する前にデプロイが終了状態に達しない場合、コマンドは 0 以外の状態を終了し、deploy status <pipeline-deployment-id> へのポインターを付けて監視を続行できます。

故障モード​

  • パッケージには既にデプロイがあります。-y, --yesが合格しない限り拒否されます。deploy upgrade を使用して、既存のデプロイを新しいバージョンに移動するか、別の--nameで--yes渡して 2 つ目の個別のコピーをインストールします。
  • 検証に失敗しました。実行は ValidationFailed 時に終了し、何もインストールされません。却下された試行は保留中の下書きとして保持されます。設定を修正し、 コマンドを再実行します。実行が既存のデプロイの更新であった場合、 Instructions は deploy upgrade <deployment-key> --discard-draft --version <version> コマンドにも名前を付け、このコマンドによって下書きを破棄し、代わりに本稼働バージョンをアップグレードします。
  • --name has a pending draft for another version. Refused. Re-run with the draft's --package-version to retry the draft, or discard it with deploy upgrade --discard-draft. When the draft is left by the first deploy of the name, nothing is installed to upgrade: Instructions names the deploy delete command that removes the draft.
  • The account has no permission to deploy into the folder (HTTP 403). Fails with ErrorCode: permission_denied and Retry: RetryWillNotFix. The message names the folder and the permissions that deploying needs: SolutionDeployments.Create on the tenant or FolderSolutionDeployments.Create on the folder, and for an External Application the Solutions.Deployments.Write scope. Under a user login, Instructions also gives the Personal Workspace route: publish with uip solution publish <package.zip> --personal-workspace, then run the deploy with --personal-workspace in place of --feed, --parent-folder-path, and --parent-folder-key.
  • --name 存在し、別の --package-nameにバインドされています。完全に失敗する — デプロイ名は を介してパッケージを切り替えることができ deploy run。
  • --name のデプロイはすでに進行中です。失敗 – 前の操作が最初に完了する必要があります。

UIP ソリューションのデプロイのアップグレード​

既存のデプロイを、そのパッケージの別のパブリッシュ済みバージョンにアップグレードします。これは、Orchestrator の [ アップグレード ] ボタンに相当する CLI です。パッケージがすでにデプロイされているために deploy run が停止した場合に使用します。デプロイの既存の設定は保持されるため、すでに設定されている値 (資格情報アセットのシークレットなど) は、パッケージの既定値にリセットされません。

To change the configuration of a deployment, pass --config-file. For example, link a connection that the deploy created to an existing, authenticated one. With --version set to the deployed version, only the configuration changes, and the command reports Operation: ConfigurationChange.

The package is validated against the target before anything is installed. A validation failure reports the errors and leaves the deployment on its current version. The command waits for the upgrade to finish unless --no-wait is passed; track a running upgrade with deploy status <pipeline-deployment-id>. While it waits, it writes progress lines to stderr, as deploy run does.

After the new version is installed, the command checks the deployment's folder for the runtimes its processes need, and reports a missing one in Data.Warnings. Refer to Folder runtime warnings.

概要​

uip solution deploy upgrade <deployment-key> [options]
uip solution deploy upgrade --name <deployment-name> --package-name <name> [options]
uip solution deploy upgrade <deployment-key> [options]
uip solution deploy upgrade --name <deployment-name> --package-name <name> [options]

デプロイは、キーまたは--package-name--nameのいずれかでアドレス指定します。両方を使用する必要はありません。

引数​

  • [deployment-key] — アップグレードするデプロイのキーです (deploy list で報告されます (Key)、または保存されているInstallDeploymentKeyです。デプロイの名前、パッケージ、現在のバージョン、フィードはサーバーから読み取られるため、 --package-name や --personal-workspace は必要ありません。これを使用するか、 と--package-name--name。

オプション​

長押し値 (Value)既定 (Default)説明
-n, --name <deployment-name>text—deploy listによって報告される、アップグレードするデプロイの名前。--package-nameと一緒に行きます。このコマンドは、インストール前に名前が存在することを確認するため、名前の入力ミスは、新しいデプロイを作成する代わりに拒否されます。
--package-name <name>text—デプロイのパッケージ--nameで必須です。
--version <version>text最新公開済み移行後の パッケージのバージョンです。同じパッケージのパブリッシュ済みバージョン (古いパッケージを含む) はすべて受け入れられます。空の値は拒否されます。
--config-file <path>パス—JSON or YAML deployment configuration to apply with the upgrade. It is the same file that deploy run --config-file takes: generate it with deploy config get, then edit it with config set or config link. Each resource the file names is applied as written, so a file straight from config get sets those resources back to the package defaults. A resource the file leaves out keeps the values the deployment has. Keep only the resources you change.
--personal-workspaceフラグ無効--nameの場合: テナントではなく個人用ワークスペース フィードのデプロイをアップグレードします。キーを使用すると、フィードはデプロイから読み取られます。このフラグは必要ありません。
--acknowledge-permanent-deletionフラグ無効新しいバージョンでリンクに置き換えられたインストール済みリソースが、そのデータとともに完全に削除されていることを確認します。タイムアウトが設定されていない場合、アップグレードはサーバーの確認要求で停止し、それらのリソースが一覧表示され、何もインストールされません。これにより、CLI はリストされた各リソースを確認し、同じ --timeout内で同じアップグレードをもう一度実行し、この確認を拒否するのではなく待機する同じバージョンの保留中のドラフトを再実行します。実行が終了しない --no-waitでは効果がありません。「 置換されたリソースを完全に削除する」をご覧ください。
--discard-draftフラグ無効デプロイに保留中の下書き (完了しなかった以前の試行、通常は検証によって却下された試行) がある場合は、最初に下書きを破棄して、本稼働バージョンをアップグレードします。これがない場合、サーバーは拒否された設定でドラフトを再実行するため、このようなデプロイは拒否されます。--nameでは、下書きはユーザー ログイン下でのみ表示されます。[外部アプリケーション] で、デプロイ キーを渡します。
--no-waitフラグ無効アップグレードが完了するのを待つのではなく、アップグレードが受け入れられたらすぐに戻ってください。
--timeout <seconds>秒300アップグレードが完了するまで待機する時間です (秒)。
--poll-interval <ms>ミリ秒5000ステータス ポーリングの間隔 (ミリ秒)。
--login-validity <minutes>分10更新をトリガーするまでの最小分単位: トークンの有効期限が切れるまでの最小分単位です。

どちらのフォームも外部アプリケーション (クライアント資格情報) ログインで動作するため、CI/CD パイプラインから実行できます。個人用ワークスペース フィードまたはフォルダー フィードにデプロイするには、ユーザー ログインが必要です。--nameフォームには--feedオプションはありません。フォルダー フィード内のデプロイをアップグレードするには、そのキーを渡します。

# By key, to the newest published version
uip solution deploy upgrade c3d4e5f6-0000-0000-0000-000000000003

# By name, to the newest published version
uip solution deploy upgrade --name my-deployment --package-name my-package

# To a specific published version (for example from a CI/CD pipeline)
uip solution deploy upgrade --name my-deployment --package-name my-package --version 1.5.0

# Start the upgrade without waiting
uip solution deploy upgrade --name my-deployment --package-name my-package --no-wait

# Discard the pending draft a rejected attempt left behind, then upgrade the live version
uip solution deploy upgrade c3d4e5f6-0000-0000-0000-000000000003 --version 2.0.0 --discard-draft

# Relink a deployment's resources without moving its version
uip solution deploy config get my-package --package-version 1.5.0 -d ./deploy-config.json
uip solution deploy config link ./deploy-config.json Outlook --name SharedOutlook --folder-path "Shared"
uip solution deploy upgrade c3d4e5f6-0000-0000-0000-000000000003 --version 1.5.0 --config-file ./deploy-config.json
# By key, to the newest published version
uip solution deploy upgrade c3d4e5f6-0000-0000-0000-000000000003

# By name, to the newest published version
uip solution deploy upgrade --name my-deployment --package-name my-package

# To a specific published version (for example from a CI/CD pipeline)
uip solution deploy upgrade --name my-deployment --package-name my-package --version 1.5.0

# Start the upgrade without waiting
uip solution deploy upgrade --name my-deployment --package-name my-package --no-wait

# Discard the pending draft a rejected attempt left behind, then upgrade the live version
uip solution deploy upgrade c3d4e5f6-0000-0000-0000-000000000003 --version 2.0.0 --discard-draft

# Relink a deployment's resources without moving its version
uip solution deploy config get my-package --package-version 1.5.0 -d ./deploy-config.json
uip solution deploy config link ./deploy-config.json Outlook --name SharedOutlook --folder-path "Shared"
uip solution deploy upgrade c3d4e5f6-0000-0000-0000-000000000003 --version 1.5.0 --config-file ./deploy-config.json

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

キーによるアップグレード:

{
  "Code": "SolutionDeployUpgrade",
  "Data": {
    "Status": "DeploymentSucceeded",
    "OrchestratorUrl": "https://cloud.uipath.com/my-org/my-tenant/orchestrator_/solutions-management/deployments(sidepanel:sidepanel/solutions-management/deployment-details/d4e5f6a7-0000-0000-0000-000000000004/overview)?allowBindings=true",
    "FolderUrl": "https://cloud.uipath.com/my-org/my-tenant/orchestrator_/processes?fkey=e5f6a7b8-0000-0000-0000-000000000004",
    "Operation": "VersionChange",
    "DeploymentStatus": "SuccessfulActivate",
    "Actions": ["Uninstall", "Upgrade"],
    "DeploymentName": "my-deployment",
    "FromVersion": "1.5.0",
    "ToVersion": "2.0.0",
    "PipelineDeploymentId": "b2c3d4e5-0000-0000-0000-000000000002",
    "DeploymentKey": "d4e5f6a7-0000-0000-0000-000000000004",
    "InstallDeploymentKey": "c3d4e5f6-0000-0000-0000-000000000003"
  }
}
{
  "Code": "SolutionDeployUpgrade",
  "Data": {
    "Status": "DeploymentSucceeded",
    "OrchestratorUrl": "https://cloud.uipath.com/my-org/my-tenant/orchestrator_/solutions-management/deployments(sidepanel:sidepanel/solutions-management/deployment-details/d4e5f6a7-0000-0000-0000-000000000004/overview)?allowBindings=true",
    "FolderUrl": "https://cloud.uipath.com/my-org/my-tenant/orchestrator_/processes?fkey=e5f6a7b8-0000-0000-0000-000000000004",
    "Operation": "VersionChange",
    "DeploymentStatus": "SuccessfulActivate",
    "Actions": ["Uninstall", "Upgrade"],
    "DeploymentName": "my-deployment",
    "FromVersion": "1.5.0",
    "ToVersion": "2.0.0",
    "PipelineDeploymentId": "b2c3d4e5-0000-0000-0000-000000000002",
    "DeploymentKey": "d4e5f6a7-0000-0000-0000-000000000004",
    "InstallDeploymentKey": "c3d4e5f6-0000-0000-0000-000000000003"
  }
}

--no-wait:

{
  "Code": "SolutionDeployUpgrade",
  "Data": {
    "Status": "Accepted",
    "DeploymentName": "my-deployment",
    "ToVersion": "2.0.0",
    "PipelineDeploymentId": "b2c3d4e5-0000-0000-0000-000000000002"
  }
}
{
  "Code": "SolutionDeployUpgrade",
  "Data": {
    "Status": "Accepted",
    "DeploymentName": "my-deployment",
    "ToVersion": "2.0.0",
    "PipelineDeploymentId": "b2c3d4e5-0000-0000-0000-000000000002"
  }
}
フィールド説明
Statusターミナル パイプラインのステータス (DeploymentSucceeded)、またはアップグレードが完了する前に--no-waitが返された場合のAccepted。
OrchestratorUrlLink that opens the deployment in Orchestrator. Absent with --no-wait, and when the CLI cannot build the link.
FolderUrlLink that opens the automations of the folder the deployment is installed into. Absent with --no-wait, and when the folder cannot be read.
Operationサーバーが行った処理: バージョンの移動 VersionChange か、要求されたバージョンが既にデプロイされている場合に ConfigurationChange 。--no-waitの場合は存在しません。
DeploymentStatusSuccessfulActivate 新しいバージョンが実行されたとき、または SuccessfulInstall インストールされたがアクティベーションの設定を待機しているとき (以前のバージョンは引き続き実行されます)。--no-waitの場合は存在しません。
Actionsデプロイで次に使用可能な操作 (例: SetupActivation、 Uninstall、 Upgrade)。
ActivationStatusPendingResources、NextSteps新しいバージョンがまだ実行されていない場合に存在します。たとえば、構成が必要なリソースがある ActivationStatus: NeedsSetupToActivate に存在します。deploy runと同じ形です。
WarningsPresent when the deployment's folder lacks a runtime that the new version's processes need, or when the check did not run. Refer to Folder runtime warnings.
FromVersionアップグレード前にデプロイされたバージョン。キーフォームのみ。
ToVersionアップグレードの対象となるバージョンです。
PipelineDeploymentIdアップグレードを実行するパイプライン実行の ID です。deploy statusに渡します。
DeploymentKeyアップグレードされたデプロイ レコードのキー。--no-waitの場合は存在しません。
InstallDeploymentKey元のインストールのキー。アップグレード後も同じままなので、保存する鍵です。キーフォームのみ。
DiscardedDraftKey削除した保留中の下書きのキー --discard-draft 。1 つが廃棄された場合にのみ存在します。

故障モード​

  • キーと--nameの両方が渡されたか、--package-nameなしで--name。拒否されました。
  • そのフィード内のキーまたは名前のデプロイが見つかりませんでした。拒否されました。
  • デプロイがアンインストールされます。インストールすると新しいデプロイが作成されるため、拒否されます。deploy runを使用してパッケージを再度デプロイします。
  • デプロイに保留中の下書きがある。--discard-draftが合格しない限り拒否されます。
  • デプロイが個人用ワークスペースまたはフォルダー フィードにあり、ログイン先が外部アプリケーションである。拒否されました。ユーザー ログインを使用します。
  • 移行後のバージョンはフィードに公開されません。拒否されました。
  • The --config-file is missing, empty, or not valid JSON or YAML. Refused with ErrorCode: invalid_argument before anything is sent.
  • 検証、競合の修正、スケジュール設定、またはインストールに失敗しました。コマンドは 1 で終了し、エラーを報告します。デプロイは、すでに実行されていたバージョンのままになります。失敗により保留中の下書きが残った場合、 Instructions はリトライの --discard-draft コマンドに名前を付けます。
  • 新しいバージョンでは、インストール済みのリソースがリンクに置き換えられます。「置換されたリソースを完全に削除する」の説明を参照し、--acknowledge-permanent-deletionが合格しない限り拒否されます。
  • タイムアウト。アップグレードは --timeout以内に完了しませんでした。まだ実行されている可能性があります。 deploy status <pipeline-deployment-id>で確認します。

uip solution deploy status​

デプロイのステートを名前、または deploy list または deploy upgradeのデプロイ キー (操作、アクティベーション ステータス、実行前にやるべきこと) で確認します。また、このコマンドは deploy run からパイプラインのデプロイ ID を取得し、その実行の進行状況とエラーを返します。

引数​

  • <deployment> (required) — Deployment name (preferred), a deployment key, or a pipeline deployment ID. A key is resolved across every feed, and a superseded key is answered with the deployment's current record. A name that only an uninstalled deployment has is answered with that record (Operation: Uninstall, OperationStatus: Successful), as deploy list shows it. When a feed that could not be searched may hold a live deployment of the same name, NextSteps names that feed.

オプション​

長押し値 (Value)既定 (Default)説明
--feed <name-or-key>text—デプロイ名の場合: 検索先のフィードです (名前またはフォルダー キー、solution feeds listから)。--feed または --personal-workspaceがない場合、フィード全体で名前が検索されます。--personal-workspaceと相互に排他的です。
--personal-workspaceフラグ無効デプロイ名の場合: テナントではなく個人用ワークスペース フィードで検索してください。
--login-validity <minutes>分10更新をトリガーするまでの最小分単位: トークンの有効期限が切れるまでの最小分単位です。

--personal-workspaceで、デプロイ名を --feed するには、ユーザー ログインが必要です。外部アプリケーションのログインが拒否された

# By deployment name
uip solution deploy status my-deployment

# By deployment key
uip solution deploy status a1b2c3d4-0000-0000-0000-000000000001

# By name, in your Personal Workspace feed
uip solution deploy status my-deployment --personal-workspace

# The pipeline deployment run that deploy run started
uip solution deploy status b2c3d4e5-0000-0000-0000-000000000001
# By deployment name
uip solution deploy status my-deployment

# By deployment key
uip solution deploy status a1b2c3d4-0000-0000-0000-000000000001

# By name, in your Personal Workspace feed
uip solution deploy status my-deployment --personal-workspace

# The pipeline deployment run that deploy run started
uip solution deploy status b2c3d4e5-0000-0000-0000-000000000001

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

名前またはキーでアドレス指定したデプロイは、 を返 Code: SolutionDeployment。この例は、アップグレード済みであるもののまだ稼働していないデプロイです。

{
  "Code": "SolutionDeployment",
  "Data": {
    "DeploymentKey": "a1b2c3d4-0000-0000-0000-000000000002",
    "Superseded": false,
    "CurrentDeploymentKey": "a1b2c3d4-0000-0000-0000-000000000002",
    "InstallDeploymentKey": "a1b2c3d4-0000-0000-0000-000000000001",
    "Name": "my-deployment",
    "PackageName": "my-package",
    "PackageVersion": "2.0.0",
    "NewPackageVersionAvailable": null,
    "Operation": "VersionChange",
    "OperationStatus": "Successful",
    "DeploymentStatus": "SuccessfulInstall",
    "ActivationStatus": "NeedsSetupToActivate",
    "Actions": ["SetupActivation", "Uninstall", "Upgrade"],
    "PendingResources": [
      {
        "Kind": "connection",
        "Name": "Outlook",
        "Type": "uipath-microsoft-outlook365",
        "Reason": "[CNS1072] You will need to authenticate this connection before proceeding further"
      }
    ],
    "NextSteps": [
      "Deployment 'my-deployment' is installed at version 2.0.0 but not live: it needs 'Setup activation' before it can be activated.",
      "Resources that need configuration: connection 'Outlook' (uipath-microsoft-outlook365): [CNS1072] You will need to authenticate this connection before proceeding further."
    ]
  }
}
{
  "Code": "SolutionDeployment",
  "Data": {
    "DeploymentKey": "a1b2c3d4-0000-0000-0000-000000000002",
    "Superseded": false,
    "CurrentDeploymentKey": "a1b2c3d4-0000-0000-0000-000000000002",
    "InstallDeploymentKey": "a1b2c3d4-0000-0000-0000-000000000001",
    "Name": "my-deployment",
    "PackageName": "my-package",
    "PackageVersion": "2.0.0",
    "NewPackageVersionAvailable": null,
    "Operation": "VersionChange",
    "OperationStatus": "Successful",
    "DeploymentStatus": "SuccessfulInstall",
    "ActivationStatus": "NeedsSetupToActivate",
    "Actions": ["SetupActivation", "Uninstall", "Upgrade"],
    "PendingResources": [
      {
        "Kind": "connection",
        "Name": "Outlook",
        "Type": "uipath-microsoft-outlook365",
        "Reason": "[CNS1072] You will need to authenticate this connection before proceeding further"
      }
    ],
    "NextSteps": [
      "Deployment 'my-deployment' is installed at version 2.0.0 but not live: it needs 'Setup activation' before it can be activated.",
      "Resources that need configuration: connection 'Outlook' (uipath-microsoft-outlook365): [CNS1072] You will need to authenticate this connection before proceeding further."
    ]
  }
}
フィールド説明
DeploymentKey要求されたキーです。
Supersededtrue 要求されたレコードを後の操作で置き換えたとき。次に、ステート フィールドで現在のレコードを記述し、使用するキー NextSteps 名前を付けます。null レコードのチェーンを読み取れなかった場合です。
CurrentDeploymentKeyデプロイの現在のレコードのキー。
InstallDeploymentKey元のインストールのキーであり、アップグレード間で安定しています。
DeploymentStatusSuccessfulActivate バージョンの実行時、 SuccessfulInstall アクティベーションまたは設定を待機する時です。
ActivationStatusアクティベーションのステート (例: Active、 ReadyToActivate、 NeedsSetupToActivate)。読み取れなかったときのnull。
Actionsデプロイで使用可能な操作。読み取れなかったときのnull。
PendingResourcesアクティブ化前に設定が必要なリソース。デプロイがセットアップを待機している場合にのみ存在します。
NextStepsデプロイを実行する前に残るもの。実行時は存在しません。

パイプラインのデプロイ ID は、実行の進行状況を含む Code: SolutionDeployStatus を返します。

{
  "Code": "SolutionDeployStatus",
  "Data": {
    "PipelineDeploymentId": "b2c3d4e5-0000-0000-0000-000000000001",
    "Status": "DeploymentSucceeded",
    "DeploymentKey": "a1b2c3d4-0000-0000-0000-000000000001",
    "ConfigurationKey": "...",
    "InstanceId": "c3d4e5f6-0000-0000-0000-000000000001",
    "DeploymentResult": {
      "Name": "my-deployment",
      "PackageName": "my-package",
      "PackageVersion": "1.0.0",
      "Status": "Successful",
      "StartDate": "2026-04-15T10:30:00Z",
      "EndDate": "2026-04-15T10:31:12Z",
      "Errors": null
    }
  }
}
{
  "Code": "SolutionDeployStatus",
  "Data": {
    "PipelineDeploymentId": "b2c3d4e5-0000-0000-0000-000000000001",
    "Status": "DeploymentSucceeded",
    "DeploymentKey": "a1b2c3d4-0000-0000-0000-000000000001",
    "ConfigurationKey": "...",
    "InstanceId": "c3d4e5f6-0000-0000-0000-000000000001",
    "DeploymentResult": {
      "Name": "my-deployment",
      "PackageName": "my-package",
      "PackageVersion": "1.0.0",
      "Status": "Successful",
      "StartDate": "2026-04-15T10:30:00Z",
      "EndDate": "2026-04-15T10:31:12Z",
      "Errors": null
    }
  }
}

パイプライン サービスは、実行がアクティブな間のみ実行を追跡します。実行が終了したら、代わりに名前またはキーでデプロイを確認します。

故障モード​

  • No deployment with that name in the feeds the session can reach. Fails with ErrorCode: not_found and Retry: RetryWillNotFix. Add --personal-workspace or --feed for a feed outside the tenant.

uip solution deploy list​

ソリューションのデプロイのリストを表示します。デプロイ名、現在のパッケージ/ターゲット パッケージのバージョン、保留中の操作、アクティベーション ステータス、フォルダー パスが表示されます。

オプション​

長押し値 (Value)既定 (Default)説明
--folder-path <path>パス—デプロイがインストールされたフォルダーのフル パス (例: Shared 、 Shared/Finance) でフィルター処理します。完全一致で、大文字と小文字は区別されません。サブフォルダーは含まれません。サーバー側で適用されます。
--folder-key <key>GUID—デプロイがインストールされたフォルダーのキーでフィルター処理します。--folder-pathの代替手段です。サーバー側で適用されます。
-l, --limit <number>Number50取得するデプロイの最大数。
--offset <number>Number0スキップするデプロイの数。
--sort-by <column>textstartTime並べ替えの基準にする列です。
--sort-order <direction>Ascending | DescendingDescending並べ替え方向です。
--operation-status <statuses>コンマ区切り—サーバー側で操作ステータスでフィルター処理します。、Successful、Failed、InProgress、FailedRollbackDraftの 1 つ以上。
--activation-status <statuses>コンマ区切り—サーバー側でアクティベーション ステータスでフィルター処理します。None、Active、Inactive、ActivationFailed、DeactivationFailed、ReadyToActivate、NeedsSetupToActivateのうち 1 つ以上。
--personal-workspaceフラグ無効現在のユーザーの個人用ワークスペース フィードからのデプロイのみを表示します。--feedと相互に排他的です。
--feed <name-or-key>text—このフィードのデプロイのみを表示します (名前またはフォルダー キー、solution feeds listのフィード)。--personal-workspaceと相互に排他的です。
--login-validity <minutes>分10更新をトリガーするまでの最小分単位: トークンの有効期限が切れるまでの最小分単位です。

--operation-status と --activation-status のどちらも、これらのリストの外にある値は拒否され、エラー メッセージには有効な値が一覧表示されます。

uip solution deploy list --limit 20 --folder-path "Shared/Production"

# Spot a pending in-place upgrade
uip solution deploy list --operation-status InProgress
uip solution deploy list --limit 20 --folder-path "Shared/Production"

# Spot a pending in-place upgrade
uip solution deploy list --operation-status InProgress

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

{
  "Code": "SolutionDeployList",
  "Data": [
    {
      "Key": "a1b2c3d4-0000-0000-0000-000000000002",
      "InstallDeploymentKey": "b2c3d4e5-0000-0000-0000-000000000002",
      "Name": "billing-solution",
      "PackageName": "billing-solution",
      "PackageVersion": "1.0.0",
      "CurrentPackageVersion": "1.0.0",
      "TargetPackageVersion": "2.0.0",
      "NewPackageVersionAvailable": "2.0.0",
      "Operation": "VersionChange",
      "OperationStatus": "InProgress",
      "ActivationStatus": "Active",
      "FolderPath": "Shared/Billing",
      "FolderKey": "c3d4e5f6-0000-0000-0000-000000000002",
      "CreatedAt": "2026-04-15T10:30:00Z",
      "Actions": ["Upgrade"]
    }
  ],
  "Pagination": { "Returned": 1, "Limit": 10, "Offset": 0, "Total": 1 }
}
{
  "Code": "SolutionDeployList",
  "Data": [
    {
      "Key": "a1b2c3d4-0000-0000-0000-000000000002",
      "InstallDeploymentKey": "b2c3d4e5-0000-0000-0000-000000000002",
      "Name": "billing-solution",
      "PackageName": "billing-solution",
      "PackageVersion": "1.0.0",
      "CurrentPackageVersion": "1.0.0",
      "TargetPackageVersion": "2.0.0",
      "NewPackageVersionAvailable": "2.0.0",
      "Operation": "VersionChange",
      "OperationStatus": "InProgress",
      "ActivationStatus": "Active",
      "FolderPath": "Shared/Billing",
      "FolderKey": "c3d4e5f6-0000-0000-0000-000000000002",
      "CreatedAt": "2026-04-15T10:30:00Z",
      "Actions": ["Upgrade"]
    }
  ],
  "Pagination": { "Returned": 1, "Limit": 10, "Offset": 0, "Total": 1 }
}

Key は、デプロイ キーとして受け入れdeploy statusdeploy upgrade値です。現在デプロイされているバージョンよりも新しいパブリッシュ済みバージョンが存在する場合、NewPackageVersionAvailableは null 以外になります。Actions には、デプロイで現在使用可能な操作 ( ["Upgrade"]など) のリストが表示されます。


uip solution deploy activate​

自動アクティブ化せずにインストールされたデプロイをアクティブ化します。アクティブ化すると、すべてのソリューション コンポーネントがプロビジョニングされます。activate は、最初に Orchestrator によって ( --log-level info経由で stderr に) 報告されたアクティブ化前のステップを出力し、次に activate を呼び出して、終了状態 (SuccessfulActivate または FailedActivate) になるまでポーリングします。

引数​

  • <deployment> (required) — Name of the deployment to activate (preferred), or its key as deploy list reports it (Key). A key is resolved across every feed, and a superseded key acts on the deployment's current record.

オプション​

  • --timeout <seconds> — アクティベーションポーリングタイムアウト。既定値は [ 360です。
  • --poll-interval <ms> — ステータスポーリング間のミリ秒。既定値は [ 5000です。
  • --login-validity <minutes> — デフォルトは 10です。
uip solution deploy activate my-deployment

# By deployment key
uip solution deploy activate a1b2c3d4-0000-0000-0000-000000000001
uip solution deploy activate my-deployment

# By deployment key
uip solution deploy activate a1b2c3d4-0000-0000-0000-000000000001

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

{
  "Code": "SolutionDeployActivate",
  "Data": {
    "Status": "SuccessfulActivate",
    "OrchestratorUrl": "https://cloud.uipath.com/my-org/my-tenant/orchestrator_/solutions-management/deployments(sidepanel:sidepanel/solutions-management/deployment-details/a1b2c3d4-0000-0000-0000-000000000001/overview)?allowBindings=true",
    "FolderUrl": "https://cloud.uipath.com/my-org/my-tenant/orchestrator_/processes?fkey=d4e5f6a7-0000-0000-0000-000000000001",
    "DeploymentName": "my-deployment",
    "InstanceId": "b2c3d4e5-0000-0000-0000-000000000001"
  }
}
{
  "Code": "SolutionDeployActivate",
  "Data": {
    "Status": "SuccessfulActivate",
    "OrchestratorUrl": "https://cloud.uipath.com/my-org/my-tenant/orchestrator_/solutions-management/deployments(sidepanel:sidepanel/solutions-management/deployment-details/a1b2c3d4-0000-0000-0000-000000000001/overview)?allowBindings=true",
    "FolderUrl": "https://cloud.uipath.com/my-org/my-tenant/orchestrator_/processes?fkey=d4e5f6a7-0000-0000-0000-000000000001",
    "DeploymentName": "my-deployment",
    "InstanceId": "b2c3d4e5-0000-0000-0000-000000000001"
  }
}

DeploymentName is the deployment's name, also when the command was given a key. OrchestratorUrl opens the deployment in Orchestrator, and FolderUrl opens the automations of its folder. Either link is absent when the CLI cannot build it.

Orchestrator が instanceId を報告しない場合 (ポーリングするものがない場合)、 InstanceId は省略され、コマンドは正常に返されます。

While the command polls, it writes progress lines to stderr, as deploy run does.


uip solution deploy uninstall​

デプロイしたソリューションをアンインストールします。プロビジョニングされたすべてのリソースとソリューション フォルダーを削除します。これは永続的な操作であり、元に戻すことはできません。

引数​

  • <deployment> (required) — Name of the deployment to uninstall (preferred), or its key as deploy list reports it (Key). A key is resolved across every feed, and a superseded key acts on the deployment's current record.

オプション​

  • -y, --yes — 必須です。この元に戻せない操作を確認します。CLI はプロンプトを表示しません。
  • --timeout <seconds> — ポーリングタイムアウトをアンインストールします。既定値は [ 360です。
  • --poll-interval <ms> — ステータスポーリング間のミリ秒。既定値は [ 5000です。
  • --login-validity <minutes> — デフォルトは 10です。
uip solution deploy uninstall my-deployment --yes
uip solution deploy uninstall my-deployment --yes

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

{
  "Code": "SolutionDeployUninstall",
  "Data": {
    "Status": "SuccessfulUninstall",
    "DeploymentName": "my-deployment",
    "InstanceId": "b2c3d4e5-0000-0000-0000-000000000001"
  }
}
{
  "Code": "SolutionDeployUninstall",
  "Data": {
    "Status": "SuccessfulUninstall",
    "DeploymentName": "my-deployment",
    "InstanceId": "b2c3d4e5-0000-0000-0000-000000000001"
  }
}

成功の形態は次の 3 つあり、その形状は表示されるフィールドによって区別されます。

  • イミディエイト — Orchestrator は最初の呼び出しで complete: true を報告します。ポーリングは行われません。Status/DeploymentNameのみが表示されます。
  • スケジュール設定済み — Orchestrator はインスタンス ID を返すことなく作業をスケジュールします。 Scheduled フィールドが追加されます。
  • Polled — an InstanceId is returned and the command polls it to completion, as shown above. While it polls, the command writes progress lines to stderr, as deploy run does.

DeploymentName is the deployment's name, also when the command was given a key.

故障モード​

  • -y, --yesがありません。コマンドは確認せずに拒否します。
  • デプロイを現状 (アンインストール後に非アクティブ、置き換え、またはインストール失敗により残した状態) のままアンインストールすることはできません。レコードが Deleteの場合、Instructions は deploy deleteを示します。

UIP ソリューション デプロイ 削除​

テナントからデプロイ レコードを削除します。これは、削除deploy uninstallできないデプロイ (アンインストール後に非アクティブのままのデプロイ、新しいバージョンに置き換えられたデプロイ、またはインストールの失敗によって取り残されたデプロイ) に使用します。Orchestrator は、エラー 4007のアンインストールを拒否します。

The command finds the deployment by name or key across the feeds, then reads its available actions. When the record lists actions but not Delete, the command refuses and names the state and the actions that are available. When the record lists no actions, the request goes to the server, which decides.

引数​

  • <deployment> (required) — Name of the deployment to delete (preferred), or its key as deploy list reports it (Key). A key is resolved across every feed, and a superseded key acts on the deployment's current record.

オプション​

  • -y, --yes — 必須です。この不可逆的な操作を確認します。CLI はプロンプトを表示しません。
  • --login-validity <minutes> — デフォルトは 10です。
uip solution deploy delete my-deployment --yes

# By deployment key
uip solution deploy delete a1b2c3d4-0000-0000-0000-000000000001 --yes
uip solution deploy delete my-deployment --yes

# By deployment key
uip solution deploy delete a1b2c3d4-0000-0000-0000-000000000001 --yes

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

{
  "Code": "SolutionDeployDelete",
  "Data": {
    "Status": "Deleted",
    "DeploymentName": "my-deployment",
    "DeploymentKey": "a1b2c3d4-0000-0000-0000-000000000001"
  }
}
{
  "Code": "SolutionDeployDelete",
  "Data": {
    "Status": "Deleted",
    "DeploymentName": "my-deployment",
    "DeploymentKey": "a1b2c3d4-0000-0000-0000-000000000001"
  }
}

DeploymentName is the name of the deployment that a key resolved to.

故障モード​

  • -y, --yesがありません。コマンドは確認せずに拒否します。
  • No deployment with that name or key. Refused.
  • The key is not listed by the deployment search yet. Refused with Retry: RetryLater, and nothing is deleted. Wait a moment, then retry.
  • このデプロイでは Uninstall は提供されますが、 Deleteは提供されません。拒否されました。最初に deploy uninstall <deployment> --yes 実行してから、削除をリトライします。
  • デプロイで操作が進行中です。拒否されました。操作が完了するまで待ってから、リトライします。

uip solution deploy config get​

Fetch the default deployment configuration for a published solution package. The package is read from the tenant feed, or from the feed that --personal-workspace or --feed selects. The config lists every resource the solution will create (queues, assets, processes, buckets, connections, ...) with their default settings. Save it to a file (-d), customize with config set / config link, then pass it to deploy run --config-file, or apply it to an existing deployment with deploy upgrade --config-file.

引数​

  • <package-name> (必須) — ソリューション パッケージ名。packages listを使用します。

オプション​

長押し値 (Value)既定 (Default)説明
--package-version <version>text最新パッケージ バージョン。
-d, --destination <path>パスStdoutstdout ではなくこのファイルに構成を書き込みます。
--format <format>json | yamljson構成形式。
--personal-workspaceフラグ無効Read the package from the current user's Personal Workspace feed instead of the tenant feed. Mutually exclusive with --feed.
--feed <name-or-key>textテナント フィードRead the package from this feed (name or folder key, from solution feeds list) instead of the tenant feed. Mutually exclusive with --personal-workspace.
--login-validity <minutes>分10更新をトリガーするまでの最小分単位: トークンの有効期限が切れるまでの最小分単位です。

--personal-workspace and --feed require a user login. When the server does not apply the feed to an External Application's requests, that login is refused with ErrorCode: permission_denied, instead of returning the tenant feed's package of the same name.

uip solution deploy config get my-package --package-version 1.0.0 -d ./deploy-config.json

# YAML format
uip solution deploy config get my-package -d ./deploy-config.yaml --format yaml

# A package published to your Personal Workspace feed
uip solution deploy config get my-package --package-version 1.0.0 --personal-workspace -d ./deploy-config.json

# A package published to a folder feed
uip solution deploy config get my-package --feed Finance -d ./deploy-config.json
uip solution deploy config get my-package --package-version 1.0.0 -d ./deploy-config.json

# YAML format
uip solution deploy config get my-package -d ./deploy-config.yaml --format yaml

# A package published to your Personal Workspace feed
uip solution deploy config get my-package --package-version 1.0.0 --personal-workspace -d ./deploy-config.json

# A package published to a folder feed
uip solution deploy config get my-package --feed Finance -d ./deploy-config.json

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

-dが指定されている場合:

{
  "Code": "SolutionDeployConfig",
  "Data": {
    "Status": "Configuration written",
    "OutputPath": "/workspace/deploy-config.json",
    "PackageName": "my-package",
    "PackageVersion": "1.0.0",
    "State": "Ready",
    "Format": "json"
  }
}
{
  "Code": "SolutionDeployConfig",
  "Data": {
    "Status": "Configuration written",
    "OutputPath": "/workspace/deploy-config.json",
    "PackageName": "my-package",
    "PackageVersion": "1.0.0",
    "State": "Ready",
    "Format": "json"
  }
}

-d省略すると、構成が応答に埋め込まれます。

{
  "Code": "SolutionDeployConfig",
  "Data": {
    "PackageName": "my-package",
    "PackageVersion": "1.0.0",
    "State": "Ready",
    "Format": "json",
    "Configuration": { "resources": [ "..." ] }
  }
}
{
  "Code": "SolutionDeployConfig",
  "Data": {
    "PackageName": "my-package",
    "PackageVersion": "1.0.0",
    "State": "Ready",
    "Format": "json",
    "Configuration": { "resources": [ "..." ] }
  }
}

uip solution deploy config set​

Edit a resource property in a deploy config file. The file stays local until you pass it to deploy run --config-file, or to deploy upgrade --config-file for an existing deployment.

引数​

  • <file> (必須) — デプロイ構成ファイル JSON ファイル (config getによって生成) へのパス。
  • <args...> (必須) — --allによって異なります。
    • --allなし : <resource> <property> <value> — 例:MyQueue maxNumberOfRetries 5。
    • With --all: <property> <value> — ファイル内のすべてのリソースに適用されます。最上位の conflictFixingAction プロパティに対してのみ有効です。

オプション​

  • --all - ファイル内のすべてのリソースにプロパティを適用します。conflictFixingAction (例:UseExisting)。
変更のリトライは 1 つのキューで行います​
uip solution deploy config set ./deploy-config.json MyQueue maxNumberOfRetries 5
uip solution deploy config set ./deploy-config.json MyQueue maxNumberOfRetries 5
すべてのリソースに競合修正ポリシーを設定する​
uip solution deploy config set ./deploy-config.json --all conflictFixingAction UseExisting
uip solution deploy config set ./deploy-config.json --all conflictFixingAction UseExisting

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

単一リソースの更新:

{
  "Code": "DeployConfigSet",
  "Data": {
    "Resource": "MyQueue",
    "Property": "maxNumberOfRetries",
    "OldValue": 1,
    "NewValue": 5
  }
}
{
  "Code": "DeployConfigSet",
  "Data": {
    "Resource": "MyQueue",
    "Property": "maxNumberOfRetries",
    "OldValue": 1,
    "NewValue": 5
  }
}

一括更新 (--all):

{
  "Code": "DeployConfigSet",
  "Data": {
    "Resource": "all",
    "Property": "conflictFixingAction",
    "NewValue": "UseExisting",
    "ResourceCount": 12
  }
}
{
  "Code": "DeployConfigSet",
  "Data": {
    "Resource": "all",
    "Property": "conflictFixingAction",
    "NewValue": "UseExisting",
    "ResourceCount": 12
  }
}

Link a solution resource to an existing Orchestrator resource, so the deployment reuses it instead of creating a new one. Changes are local — apply them by passing the file to deploy run --config-file, or to deploy upgrade --config-file to relink an existing deployment.

引数​

  • <file> (必須) — デプロイ構成ファイルの JSON ファイルへのパスです。
  • <resource> (必須) — 構成ファイルのリソース名または resourceKey 。

オプション​

  • -n, --name <name> (必須) — リンク先の既存の Orchestrator リソースの名前です。
  • --folder-path <path> — 既存のリソースが存在する Orchestrator フォルダーのパスです。
uip solution deploy config link ./deploy-config.json MyQueue \
  --name ProductionQueue \
  --folder-path "Shared/Production"
uip solution deploy config link ./deploy-config.json MyQueue \
  --name ProductionQueue \
  --folder-path "Shared/Production"

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

{
  "Code": "DeployConfigLink",
  "Data": {
    "Resource": "MyQueue",
    "LinkedTo": {
      "name": "ProductionQueue",
      "folderPath": "Shared/Production"
    }
  }
}
{
  "Code": "DeployConfigLink",
  "Data": {
    "Resource": "MyQueue",
    "LinkedTo": {
      "name": "ProductionQueue",
      "folderPath": "Shared/Production"
    }
  }
}

Remove a link set with config link. On the next deploy run --config-file or deploy upgrade --config-file, the resource is created instead of reused.

引数​

  • <file> (必須) — デプロイ構成ファイルの JSON ファイルへのパスです。
  • <resource> (必須) — リンクを解除するリソース名または resourceKey 。
uip solution deploy config unlink ./deploy-config.json MyQueue
uip solution deploy config unlink ./deploy-config.json MyQueue

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

{
  "Code": "DeployConfigUnlink",
  "Data": {
    "Resource": "MyQueue",
    "UnlinkedFrom": "ProductionQueue"
  }
}
{
  "Code": "DeployConfigUnlink",
  "Data": {
    "Resource": "MyQueue",
    "UnlinkedFrom": "ProductionQueue"
  }
}

故障モード​

  • リソースは現在リンクされていません。このコマンドはリンク解除を拒否し、config linkをポイントします。

  • uip solution publish — deploy runの前に必要なステップ 。
  • uip solution packages list — パッケージの名前とバージョンを検出します。
  • uip or — deploy config link参照する Orchestrator リソースを検査または作成します。

参照​

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

接続

ヘルプ リソース サポート(opens in new window)

学習する UiPath アカデミー(opens in new window)

質問する UiPath フォーラム(opens in new window)

最新情報を取得