cicd-integrations
2025.10
true
- 概述
- UiPath CLI
- Azure DevOps 扩展程序
- Jenkins 插件
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。
新发布内容的本地化可能需要 1-2 周的时间才能完成。

CI/CD 集成用户指南
上次更新日期 2025年11月18日
UiPath 解决方案激活部署
应用程序:解决方案
类型:构建后任务
UiPath 解决方案:“激活部署”可在标准作业和管道中使用,可用于激活 Orchestrator 实例上的现有 UiPath 解决方案部署。
备注:
目前只有 Automation Cloud 支持解决方案。计划在未来版本中提供对 Automation Suite 的支持。本地部署 (MSI) Orchestrator 不支持解决方案。
备注:
此任务仅与版本 25.10 或更高版本的UiPath.CLI.Windows或UiPath.CLI.Linux兼容。
配置
| 作业参数 | 描述 |
|---|---|
| 部署名称 | 要激活的部署的名称。 |
| Orchestrator 地址 | 您将在其中激活部署的 Orchestrator 实例的地址。 |
| Orchestrator 租户 | 指定 Orchestrator 租户。 |
| 身份验证 | 对于面向 Automation Cloud Orchestrator 的身份验证,您需要预先在 Jenkins 中创建凭据。解决方案仅支持外部应用程序身份验证。有关创建外部应用程序和获取所需凭据的详细信息,请参阅管理外部应用程序。 |
| 追踪级别 | 用于启用跟踪日志记录的设置为以下级别之一:
|
管道示例
pipeline { agent any environment { MAJOR = '1' MINOR = '0' } stages { stage ('Activate Deployment') { steps { script { orchestratorCredentials = ExternalApp( applicationId: 'External application identifier', applicationScope: 'AutomationSolutions Solutions.Deployments Solutions.Packages', applicationSecret: 'External application secret', accountForApp: 'Organization identifier' ) UiPathSolutionActivateDeployment( deploymentName: 'Deployment name', orchestratorAddress: 'OrchestratorUrl', orchestratorTenant: 'Tenant name', credentials: orchestratorCredentials, traceLevel: 'Information', ) } } } }}pipeline { agent any environment { MAJOR = '1' MINOR = '0' } stages { stage ('Activate Deployment') { steps { script { orchestratorCredentials = ExternalApp( applicationId: 'External application identifier', applicationScope: 'AutomationSolutions Solutions.Deployments Solutions.Packages', applicationSecret: 'External application secret', accountForApp: 'Organization identifier' ) UiPathSolutionActivateDeployment( deploymentName: 'Deployment name', orchestratorAddress: 'OrchestratorUrl', orchestratorTenant: 'Tenant name', credentials: orchestratorCredentials, traceLevel: 'Information', ) } } } }}