cicd-integrations
2025.10
true
- 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
Last updated Nov 5, 2025
UiPath Solution Delete Package
The UiPath Solution Delete Package task deletes a solution package from UiPath Orchestrator's Solutions Management. This is useful for cleanup operations and removing outdated package versions.
Note:
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.
Note:
This task is compatible only with UiPath.CLI.Windows or UiPath.CLI.Linux at least version 25.10 or higher.
Configuration
Use the following table to configure the UiPath Solution Delete Package inputs.
| Parameter | Description |
|---|---|
| Orchestrator connection (Required) | A service connection to the Orchestrator instance from which the package will be deleted. |
| Package Name (Required) | The solution package name from Orchestrator that needs to be deleted. |
| Package Version (Required) | The solution package version from Orchestrator that needs to be deleted. |
| Trace Level | The trace logging level. Default: Error. Options: None, Critical, Error, Warning, Information, Verbose |
Notes
- Package deletion: This task removes solution packages from Solutions Management in Orchestrator
- Version-specific: Deletes a specific version of a solution package, not all versions
- Orchestrator connection: Requires a valid service connection to the target Orchestrator instance
- Irreversible operation: Package deletion cannot be undone, use with caution
- Dependency check: Ensure the package is not deployed or in use before deletion
- CLI compatibility: This task uses the UiPath CLI internally and requires proper CLI installation on the build agent
- Minimum CLI version: Requires UiPath CLI version 25.10 or higher for full compatibility
- Cleanup automation: Useful for automated cleanup of old package versions in CI/CD pipelines
Pipeline examples
Basic package deletion
- task: UiPathSolutionDeletePackage@6 displayName: 'Delete Solution Package' inputs: orchestratorConnection: 'UiPath-Orchestrator-Connection' packageName: 'MySolution' packageVersion: '1.0.0' traceLevel: 'Information'- task: UiPathSolutionDeletePackage@6 displayName: 'Delete Solution Package' inputs: orchestratorConnection: 'UiPath-Orchestrator-Connection' packageName: 'MySolution' packageVersion: '1.0.0' traceLevel: 'Information'With Orchestrator connection and detailed logging
- task: UiPathSolutionDeletePackage@6 displayName: 'Delete Old Solution Package Version' inputs: orchestratorConnection: 'Production-Orchestrator' packageName: 'MyBusinessSolution' packageVersion: '1.0.$(Build.BuildNumber)' traceLevel: 'Verbose'- task: UiPathSolutionDeletePackage@6 displayName: 'Delete Old Solution Package Version' inputs: orchestratorConnection: 'Production-Orchestrator' packageName: 'MyBusinessSolution' packageVersion: '1.0.$(Build.BuildNumber)' traceLevel: 'Verbose'Cleanup pipeline: delete multiple old versions
variables: solutionName: 'MyBusinessSolution' oldVersion1: '1.2023.100' oldVersion2: '1.2023.99'steps:- task: UiPathSolutionDeletePackage@6 displayName: 'Delete Old Version 1' inputs: orchestratorConnection: 'Production-Orchestrator' packageName: '$(solutionName)' packageVersion: '$(oldVersion1)' traceLevel: 'Information' continueOnError: true- task: UiPathSolutionDeletePackage@6 displayName: 'Delete Old Version 2' inputs: orchestratorConnection: 'Production-Orchestrator' packageName: '$(solutionName)' packageVersion: '$(oldVersion2)' traceLevel: 'Information' continueOnError: true- script: echo "Cleanup completed for solution $(solutionName)" displayName: 'Cleanup Summary'variables: solutionName: 'MyBusinessSolution' oldVersion1: '1.2023.100' oldVersion2: '1.2023.99'steps:- task: UiPathSolutionDeletePackage@6 displayName: 'Delete Old Version 1' inputs: orchestratorConnection: 'Production-Orchestrator' packageName: '$(solutionName)' packageVersion: '$(oldVersion1)' traceLevel: 'Information' continueOnError: true- task: UiPathSolutionDeletePackage@6 displayName: 'Delete Old Version 2' inputs: orchestratorConnection: 'Production-Orchestrator' packageName: '$(solutionName)' packageVersion: '$(oldVersion2)' traceLevel: 'Information' continueOnError: true- script: echo "Cleanup completed for solution $(solutionName)" displayName: 'Cleanup Summary'