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

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

最終更新日時 2025年11月5日

UiPath ソリューションのデプロイをアンインストール

[UiPath ソリューションのデプロイをアンインストール] タスクは、UiPath Orchestrator 上のソリューションのデプロイをアンインストールします。これにより、デプロイされたソリューションがターゲット環境から削除され、関連するすべてのプロセスが停止して、リソースがクリーンアップされます。

注:

ソリューションは現在 Automation Cloud でのみサポートされています。Automation Suite のサポートは、今後のリリースで予定されています。オンプレミス (MSI) Orchestrator ではソリューションはサポートされていません。

注:

このタスクは、バージョン 25.10 以降の UiPath.CLI.Windows または UiPath.CLI.Linux にのみ対応しています。

構成

次の表を使用して、UiPath ソリューションの Uninstall Deployments の入力を設定します。

パラメーター説明
Orchestrator への接続 (必須)ソリューションのデプロイをアンインストールするための Orchestrator インスタンスへのサービス接続。
デプロイ名 (必須)アンインストールするデプロイの名前です。
トレース レベルトレースのログ レベル。既定値は [ Error] です。オプション: NoneCriticalErrorWarningInformationVerbose

筆記

  • ソリューションのアンインストール: デプロイ済みのソリューション パッケージを Orchestrator 環境から削除します
  • デプロイの前提条件: 既存のソリューションのデプロイがターゲット環境に存在する必要があります
  • リソースのクリーンアップ: アンインストールを行うと、実行中のすべてのプロセスが停止し、関連するリソースがクリーンアップされます
  • 元に戻せない操作: アンインストールは元に戻せません。必要に応じて、デプロイを再度再作成する必要があります
  • 環境管理: 環境のクリーンアップ、ロールバックのシナリオ、デプロイのライフサイクル管理に役立ちます
  • Orchestrator 接続: 対象の Orchestrator インスタンスへの有効なサービス接続が必要です
  • CLI の互換性: このタスクでは UiPath CLI を内部で使用するので、ビルド エージェントに適切な CLI をインストールする必要があります
  • CLI の最小バージョン: 完全な相互運用性を得るには、UiPath CLI バージョン 25.10 以降が必要です
  • 安全上の考慮事項: アンインストールする前に、重要なプロセスが実行されていないことを確認してください

パイプラインの例

基本的な解決策のアンインストール

- task: UiPathSolutionUninstallDeployment@6  displayName: 'Uninstall Solution Deployment'  inputs:    orchestratorConnection: 'UiPath-Orchestrator-Connection'    deploymentName: 'MySolution-Deployment'    traceLevel: 'Information'- task: UiPathSolutionUninstallDeployment@6  displayName: 'Uninstall Solution Deployment'  inputs:    orchestratorConnection: 'UiPath-Orchestrator-Connection'    deploymentName: 'MySolution-Deployment'    traceLevel: 'Information'

Orchestrator 接続と詳細なログ記録

- task: UiPathSolutionUninstallDeployment@6  displayName: 'Uninstall Old Business Solution'  inputs:    orchestratorConnection: 'Production-Orchestrator'    deploymentName: 'BusinessSolution-Prod-Deploy-Old'    traceLevel: 'Verbose'- task: UiPathSolutionUninstallDeployment@6  displayName: 'Uninstall Old Business Solution'  inputs:    orchestratorConnection: 'Production-Orchestrator'    deploymentName: 'BusinessSolution-Prod-Deploy-Old'    traceLevel: 'Verbose'

ロールバック パイプライン: アンインストールして再デプロイする

variables:  solutionName: 'MyBusinessSolution'  currentDeployment: '$(solutionName)-Production-$(Build.BuildNumber)'  previousDeployment: '$(solutionName)-Production-$(Build.PreviousBuildNumber)'  environmentName: 'Production'steps:- task: UiPathSolutionUninstallDeployment@6  displayName: 'Uninstall Current Deployment'  inputs:    orchestratorConnection: 'Production-Orchestrator'    deploymentName: '$(currentDeployment)'    traceLevel: 'Information'  continueOnError: true- task: UiPathSolutionActivateDeployment@6  displayName: 'Reactivate Previous Deployment'  inputs:    orchestratorConnection: 'Production-Orchestrator'    deploymentName: '$(previousDeployment)'    traceLevel: 'Information'- script: echo "Rolled back from $(currentDeployment) to $(previousDeployment)"  displayName: 'Rollback Summary'variables:  solutionName: 'MyBusinessSolution'  currentDeployment: '$(solutionName)-Production-$(Build.BuildNumber)'  previousDeployment: '$(solutionName)-Production-$(Build.PreviousBuildNumber)'  environmentName: 'Production'steps:- task: UiPathSolutionUninstallDeployment@6  displayName: 'Uninstall Current Deployment'  inputs:    orchestratorConnection: 'Production-Orchestrator'    deploymentName: '$(currentDeployment)'    traceLevel: 'Information'  continueOnError: true- task: UiPathSolutionActivateDeployment@6  displayName: 'Reactivate Previous Deployment'  inputs:    orchestratorConnection: 'Production-Orchestrator'    deploymentName: '$(previousDeployment)'    traceLevel: 'Information'- script: echo "Rolled back from $(currentDeployment) to $(previousDeployment)"  displayName: 'Rollback Summary'

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

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