- Overview
- UiPath CLI
- About UiPath CLI
- Downloading UiPath CLI
- Compatibility matrix
- Running UiPath CLI
- Managing NuGet feeds
- Packing projects into a package
- Analyzing a project
- Deploying a package to Orchestrator
- Running a job inside Orchestrator
- Testing a package or running a test set
- Testing multiple packages
- Deploying assets to Orchestrator
- Deleting assets from Orchestrator
- Running tasks using JSON configuration
- Restoring automation dependencies
- Troubleshooting UiPath CLI
- Azure DevOps extension
- Jenkins plugin

CI/CD integrations user guide
UiPath Solution Uninstall Deployment
Application: Solution
Type: Post-Build task
UiPath Solution: Uninstall Deployment is available in standard jobs and pipelines, and lets you uninstall an existing UiPath solution deployment on an Orchestrator instance.
Solutions are currently supported only in Automation Cloud. Support for Automation Suite is planned for a future release. On-premises (MSI) Orchestrator does not support Solutions.
This task is compatible only with UiPath.CLI.Windows or UiPath.CLI.Linux at least version 25.10 or higher.
Configuration
| Job parameter | Description |
|---|---|
| Deployment name | The name of the deployment to be uninstalled. |
| Orchestrator address | The address of the Orchestrator instance where you'll uninstall the deployment from. |
| Orchestrator tenant | Specify the Orchestrator tenant. |
| Authentication | For authentication towards Automation Cloud Orchestrator, you need to create credentials in Jenkins upfront. Solutions support External App authentication only. See Managing external applications for details on creating an External App and obtaining the required credentials. |
| Trace level | Setting used to enable trace logging to one of the following levels:
|
Pipeline example
pipeline { agent any environment { MAJOR = '1' MINOR = '0' } stages { stage ('Uninstall Deployment') { steps { script { orchestratorCredentials = ExternalApp( applicationId: 'External application identifier', applicationScope: 'AutomationSolutions Solutions.Deployments Solutions.Packages', applicationSecret: 'External application secret', accountForApp: 'Organization identifier' ) UiPathSolutionUninstallDeployment( deploymentName: 'Deployment name', orchestratorAddress: 'OrchestratorUrl', orchestratorTenant: 'Tenant name', credentials: orchestratorCredentials, traceLevel: 'Information', ) } } } }}pipeline { agent any environment { MAJOR = '1' MINOR = '0' } stages { stage ('Uninstall Deployment') { steps { script { orchestratorCredentials = ExternalApp( applicationId: 'External application identifier', applicationScope: 'AutomationSolutions Solutions.Deployments Solutions.Packages', applicationSecret: 'External application secret', accountForApp: 'Organization identifier' ) UiPathSolutionUninstallDeployment( deploymentName: 'Deployment name', orchestratorAddress: 'OrchestratorUrl', orchestratorTenant: 'Tenant name', credentials: orchestratorCredentials, traceLevel: 'Information', ) } } } }}