- 概述
- UiPath CLI
- Azure DevOps 扩展程序
- Jenkins 插件

CI/CD 集成用户指南
配置 Azure DevOps 服务连接
您可以使用 Azure Pipeline 中的服务连接连接到 UiPath Orchestrator 服务,以便执行自动化任务。
有关详细信息,请参阅“管理服务连接”。
在开始配置 UiPath Orchestrator 服务连接之前,请考虑以下事项:
- 如果您在内部部署 Orchestrator,则可以使用基本身份验证方法。
- 对于 Orchestrator Cloud 版本 (SaaS),您可以使用外部身份验证方法在 Automation Cloud™ 或 Automation Suite 中注册插件。
-
如果您的 Orchestrator 实例部署在 Microsoft Azure 市场 (PaaS) 中,则您需要访问 Orchestrator 和 Identity Server 信息。
有关更多信息,请参阅“Azure 市场部署”。
本节介绍可以使用的身份验证方法,具体取决于 Orchestrator 部署方案。
Orchestrator deployment |
身份验证方法 |
---|---|
微星 |
|
Automation Suite |
|
Automation Cloud |
|
The recommended method is using External application authentication.
如果 Orchestrator 实例在内部部署中运行,则可以使用此方法。为此身份验证方法配置以下设置:
- “Orchestrator URL”:添加身份服务器连接到的 Orchestrator 公共 URL。(例如,
https://orchestrator.yourDomain.local
)。 - “用户名”和“密码”:输入 Orchestrator 用户名和密码。如果您在组织中使用联合身份验证,则需要按如下方式添加用户名:
yourDomain\yourUsername
。 - “租户”:添加配置的租户。
完成基本身份验证设置后,请返回到配置 UiPath Orchestrator 服务连接以完成服务连接设置。
对于基于令牌的身份验证,请配置以下设置:
- “Orchestrator URL”:添加身份服务器连接到的 Orchestrator 公共 URL。(例如,
https://orchestrator.yourDomain.local
)。 - “帐户名称”:添加您组织的唯一 URL。
- API 密钥:您可以在 Automation Cloud™ 或 Automation Suite 中的“租户” > “API 访问” 下找到 API 密钥。 有关更多信息,请参阅查看 API 访问信息。
- “租户”:添加配置的租户。
完成基于令牌的身份验证设置后,请返回“配置 UiPath Orchestrator 服务连接”以完成服务连接设置。
如果 Orchestrator 实例在云中运行或通过 Automation Suite 运行,则可以使用此方法。 对于此身份验证方法,您需要配置外部应用程序并在 Automation Cloud™ 或 Automation Suite 中提供作用域。
在 Automation Cloud™ 或 Automation Suite 中完成外部应用程序注册后,您可以配置以下设置:
- “Orchestrator URL”:添加身份服务器连接到的 Orchestrator 公共 URL。(例如,
https://orchestrator.yourDomain.local
)。 - “身份 URL”(仅适用于 Azure 市场中部署的 Orchestrator):添加身份服务器 URL。您可以在“应用服务”的“概述”部分将其找到。
备注:
对于 Cloud Orchestrator,“身份 URL”字段必须留空。
- “帐户名称”:添加您组织的唯一 URL。如果 Orchestrator 部署在 Azure 市场中,则为可选项。
- “应用程序 ID”和“密码”:添加通过外部应用程序注册生成的应用程序 ID 和密码。
- “应用程序作用域”:添加您为外部应用程序注册为资源的作用域。
- “租户”:如果您的 Orchestrator 部署在 Azure 市场中,则此项为可选项。
完成外部应用程序设置后,请返回到“配置 UiPath Orchestrator 服务连接” ,以完成服务连接设置。