cicd-integrations
2023.4
false
  • 概述
    • 关于 CI/CD 管道
  • UiPath CLI
  • Azure DevOps 扩展程序
  • Jenkins 插件
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。
UiPath logo, featuring letters U and I in white

CI/CD 集成用户指南

上次更新日期 2025年4月28日

配置 Azure DevOps 服务连接

您可以使用 Azure Pipeline 中的服务连接连接到 UiPath Orchestrator 服务,以便执行自动化任务。

有关详细信息,请参阅“管理服务连接”。

注意事项

在开始配置 UiPath Orchestrator 服务连接之前,请考虑以下事项:

  • 如果您在内部部署 Orchestrator,则可以使用基本身份验证方法。
  • 对于 Orchestrator Cloud 版本 (SaaS),您可以使用外部身份验证方法在 Automation Cloud™ 或 Automation Suite 中注册插件。
  • 如果您的 Orchestrator 实例部署在 Microsoft Azure 市场 (PaaS) 中,则您需要访问 Orchestrator 和 Identity Server 信息。

    有关更多信息,请参阅“Azure 市场部署”。

配置 UiPath Orchestrator 服务连接

要将 Orchestrator 添加到 Azure DevOps,您需要添加并配置服务连接,如下所示:

  1. 打开您的 Azure DevOps 项目(例如https://yourCompany.visualstudio.com/yourProject)。
  2. 导航至“项目设置”>“服务连接”。
  3. 单击“新建服务连接”,然后使用搜索功能查找“UiPath Orchestrator 连接”。
  4. 单击“下一步”并选择身份验证方法。
  5. 跳至其中一种身份验证方法,然后返回以继续配置。
  6. 配置以下服务连接设置:
    • “服务连接名称”和“说明”: 输入服务连接的名称并添加可选说明。
    • 向所有管道授予访问权限”:选择此选项可授予项目级别管道的权限。

配置身份验证

本节介绍可以使用的身份验证方法,具体取决于 Orchestrator 部署方案。

基本身份验证

如果 Orchestrator 实例在内部部署中运行,则可以使用此方法。为此身份验证方法配置以下设置:

  • Orchestrator URL”:添加身份服务器连接到的 Orchestrator 公共 URL。(例如,https://orchestrator.yourDomain.local)。
  • 用户名”和“密码”:输入 Orchestrator 用户名和密码。如果您在组织中使用联合身份验证,则需要按如下方式添加用户名:yourDomain\yourUsername
  • 租户”:添加配置的租户。

After you complete the basic authentication settings, go back to Configuring UiPath Orchestrator service connection to complete the service connection setup.



基于令牌的身份验证

对于基于令牌的身份验证,请配置以下设置:

  • Orchestrator URL”:添加身份服务器连接到的 Orchestrator 公共 URL。(例如,https://orchestrator.yourDomain.local)。
  • 帐户名称”:添加您组织的唯一 URL
  • API 密钥:您可以在 Automation Cloud™ 或 Automation Suite 中的“租户” > “API 访问” 下找到 API 密钥。 有关更多信息,请参阅查看 API 访问信息
  • 租户”:添加配置的租户。

After you complete the token based authentication settings, go back to in Configuring UiPath Orchestrator service connection to complete the service connection setup.



外部应用程序身份验证

如果 Orchestrator 实例在云中运行或通过 Automation Suite 运行,则可以使用此方法。 对于此身份验证方法,您需要配置外部应用程序并在 Automation Cloud™ 或 Automation Suite 中提供作用域。

  1. 以管理员身份登录 Automation Cloud™ 或 Automation Suite,然后导航至“管理” > “外部应用程序”。
  2. 单击“创建”并配置以下设置:
    • 应用程序名称”:输入应用程序的名称。

    • 应用程序类型”:将此值设置为机密应用程序。

    • 资源:配置以下应用程序作用域:

  3. 单击“添加作用域”。
  4. 选择“Orchestrator API 访问”作为“资源”
  5. 选择以下作用域:
    • OR. 文件夹
    • OR.BackgroundTasks
    • OR.测试集
    • OR.TestSet 执行次数
    • OR.TestSet 计划
    • OR.设置.读取
    • OR.Robots.Read
    • OR. 计算机. 读取
    • OR.ExecutionOR.Assets
    • OR.Users.Read
    • OR. 作业
    • OR.Monitoring

    您可以使用此代码块复制应用程序作用域列表:

    OR.Folders OR.BackgroundTasks OR.TestSets OR.TestSetExecutions OR.TestSetSchedules OR.Settings.Read OR.Robots.Read OR.Machines.Read OR.Execution OR.Assets OR.Users.Read OR.Jobs OR.MonitoringOR.Folders OR.BackgroundTasks OR.TestSets OR.TestSetExecutions OR.TestSetSchedules OR.Settings.Read OR.Robots.Read OR.Machines.Read OR.Execution OR.Assets OR.Users.Read OR.Jobs OR.Monitoring
  6. 单击“保存”
    • 重定向 URL:您可以将此字段留空。

  7. 单击“添加”以注册应用程序。
    重要提示:
    • 最后生成应用程序 ID 和密码。将此信息保存在安全位置,以备后用。
    • 如果您生成并使用新密码,则旧密码将失效。
    有关详细信息,请参阅在 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 市场中,则此项为可选项。

After you complete the external application settings, go back to Configuring UiPath Orchestrator service connection to complete the service connection setup.



  • 注意事项
  • 配置 UiPath Orchestrator 服务连接
  • 配置身份验证
  • 基本身份验证
  • 基于令牌的身份验证
  • 外部应用程序身份验证

此页面有帮助吗?

获取您需要的帮助
了解 RPA - 自动化课程
UiPath Community 论坛
Uipath Logo
信任与安全
© 2005-2025 UiPath。保留所有权利。