cicd-integrations
2025.10
true
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。
新发布内容的本地化可能需要 1-2 周的时间才能完成。
CI/CD 集成发行说明
上次更新日期 2026年5月22日
发布日期:2025 年 11 月 6 日
新增功能
解决方案支持
Azure DevOps 扩展程序 6.0 通过新的管道任务引入了对 UiPath 解决方案的完全支持:
- UiPath 解决方案包- 将解决方案打包到可分发的工件(
solution pack)中 - UiPath 解决方案上传包- 将解决方案包上传到 Automation Cloud (
solution upload-package) - UiPath 解决方案 删除包- 删除解决方案包 (
solution delete-package) - UiPath 解决方案下载包- 下载解决方案包 (
solution download-package) - UiPath 解决方案下载配置- 下载解决方案配置 (
solution download-config) - UiPath Solution Deploy - 将解决方案包部署到目标环境 (
solution deploy) - UiPath 解决方案激活部署- 使用特定于环境的设置激活解决方案部署 (
solution deploy-activate) - UiPath 解决方案卸载部署- 从环境 (
solution deploy-uninstall) 中卸载解决方案部署
CLI 集成更新
- 现在默认安装 UiPath CLI 25.10。
- 支持所有三种 CLI 风格:
UiPath.CLI.WindowsUiPath.CLI.LinuxUiPath.CLI.Windows.Legacy
- 重大变更: 不再自动安装较旧的 CLI 版本 (23.x / 24.x)
增强的任务功能
- 更新了所有现有任务(6 版本)以支持 CLI 25.10 功能
- 改进的错误处理和日志记录
- 更好地支持特定于环境的配置
要求
- 需要 UiPath CLI 25.10 或更高版本
- 兼容 Automation Cloud Orchestrator
- 当前仅在 Automation Cloud 中支持解决方案部署
迁移说明
升级到扩展程序 6.0 时:
- 更新管道 YAML 以使用任务版本
@6版本)。 - 在
UiPathInstallPlatform任务中指定 CLI 版本25.10。 - 更新自定义脚本中的 CLI 包引用。
- 在生产部署之前审核和测试所有管道定义。
重大变更
重要提示:
Azure DevOps 扩展程序 6.0 引入了对 CLI 版本管理的重大更改。在升级之前,请仔细查看这些重大变更。
CLI 版本可用性
变化内容
- UiPath 安装平台中的 CLI 版本下拉列表现在仅列出 UiPath CLI 25.10 及更高版本。
- 无法再通过扩展程序自动安装较旧版本(23.x、24.x)。
Action required
- 更新所有 Azure DevOps 管道 YAML 文件以引用 CLI 版本 25.10 或更高版本。
- 替换管道中对较旧 CLI 版本的任何引用。
CLI 风格分离
变化内容
The UiPath CLI is now distributed in three separate packages:
UiPath.CLI.Windows- 适用于跨平台和 Windows(非旧版)项目UiPath.CLI.Linux- 适用于 Linux 上的跨平台项目UiPath.CLI.Windows.Legacy- 适用于 Windows - 仅旧版项目
为什么重要
- “Windows” - 无法再使用 UiPath.CLI.Windows 打包旧版项目。
- 您必须为所有“Windows - 旧版”项目使用 UiPath.CLI.Windows.Legacy。
Action required
- 确定存储库中存在哪些项目类型。
- 更新管道以安装适当的 CLI 风格。
同一存储库中可以混合使用的项目类型
变化内容
If your repository contains both Windows - Legacy projects and other project types (Cross-platform or Windows non-legacy), you must:
-
在管道中安装多种 CLI 风格:
UiPath.CLI.Windows(适用于跨平台和 Windows 项目)UiPath.CLI.Windows.Legacy(适用于 Windows - 旧版项目)
-
组织构建阶段,以使用正确的 CLI 处理每个项目类型。
Example pipeline approach
# Install CLI for Cross-platform and Windows (non-legacy) projects
- task: UiPathInstallPlatform@6
displayName: 'Install UiPath CLI Windows'
inputs:
cliVersion: 'Windows.25.10.0-20251104-11'
# Build modern projects
- task: UiPathPack@6
displayName: 'Pack Modern Projects'
inputs:
# Pack cross-platform and Windows (non-legacy) projects
# Install CLI for Windows - Legacy projects
- task: UiPathInstallPlatform@6
displayName: 'Install UiPath CLI Windows Legacy'
inputs:
cliVersion: 'Windows.Legacy.25.10.9424.14050'
# Build legacy projects
- task: UiPathPack@6
displayName: 'Pack Legacy Projects'
inputs:
# Pack Windows - Legacy projects
# Install CLI for Cross-platform and Windows (non-legacy) projects
- task: UiPathInstallPlatform@6
displayName: 'Install UiPath CLI Windows'
inputs:
cliVersion: 'Windows.25.10.0-20251104-11'
# Build modern projects
- task: UiPathPack@6
displayName: 'Pack Modern Projects'
inputs:
# Pack cross-platform and Windows (non-legacy) projects
# Install CLI for Windows - Legacy projects
- task: UiPathInstallPlatform@6
displayName: 'Install UiPath CLI Windows Legacy'
inputs:
cliVersion: 'Windows.Legacy.25.10.9424.14050'
# Build legacy projects
- task: UiPathPack@6
displayName: 'Pack Legacy Projects'
inputs:
# Pack Windows - Legacy projects
重要提示
- 不会自动检测项目类型。您必须知道哪些项目是“Windows - 旧版”项目。
- 考虑在单独的文件夹中按类型组织项目,以便更轻松地管理管道。
- 有关详细指导,请参阅“UiPath 安装平台 (Azure DevOps)” 。
.NET 运行时要求
变化内容
- 所有 UiPath CLI 25.10 包都需要 .NET 8 运行时。以前的版本使用 .NET 6。
Action required
- 确保所有 Azure DevOps 代理都安装了 .NET Desktop Runtime 8 (Windows) 或 .NET Runtime 8 (Linux)。
- 更新智能体设置脚本和文档,以安装 .NET 8。