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

CI/CD 集成用户指南
上次更新日期 2025年7月4日
您可以使用此任务在 Orchestrator 实例上部署、更新或删除资产。
支持以下资产类型:
Text
- 仅存储字符串(不需要添加引号)Boolean
- 支持值 True 或 FalseInteger
- 仅存储整数Credential
- 包含机器人执行特定流程所需的用户名和密码。对于此资产类型,您需要通过使用::
分隔两个字段来对用户名和密码进行编码。
要部署资产,您需要将其添加到以 UTF-8 编码的 CSV 文件中,如下例所示:
name,type,value, description asset_1_name,text,asset_value, asset_2_name,integer,123,asset_3_name,boolean,false, this is an asset description asset_4_name,credential,"username::password",
name,type,value, description asset_1_name,text,asset_value, asset_2_name,integer,123,asset_3_name,boolean,false, this is an asset description asset_4_name,credential,"username::password",
有关更多信息,请参阅“Orchestrator 资产”。
使用下表配置“UiPath 管理资产”输入。
参数 | 描述 |
---|---|
显示名称是必填项 | 输入租户的名称。 |
需要 Orchestrator 连接 | 配置服务连接以访问 UiPath Orchestrator 服务。您只能为此步骤配置连接,也可以使用现有的全局连接。有关更多信息,请参阅“配置 UiPath Orchestrator 服务连接”。 |
Orchestrator 文件夹(必需) | 指定正在部署流程的文件夹。对于传统文件夹,您可以使用指定的机器人名称。对于新式文件夹,您可以使用指定的用户和计算机名称。
要输入子文件夹,请确保同时输入父文件夹的名称和子文件夹的名称。例如,使用“AccountingTeam\TeamJohn”。 |
选择资产操作(必填) | 从下拉列表中选择一个选项。 |
资产 CSV 文件(必填) | 添加 CSV 文件路径。您可以将同一文件用于“部署”和“更新”资产操作。注意事项:
(可选)您可以使用以下语法为每个资产设置说明:
type, value ,description |
追踪级别 | 从下拉列表中选择用户。 |
您可以为“UiPath 管理资产”预览完全解析的 YAML 文档。
- task: UiPathAssets@2
displayName: 'Deploy/Update assets'
inputs:
#orchestratorConnection: 'service-connection-name' # Service connection to UiPath Orchestrator
#assetActionType: 'Deploy' # Options: Deploy, Delete
#csvFile: 'assets_deploy.csv' # the path to the csv file containing the assets description,
#traceLevel: 'None' # Options: Critical, Error, Warning, Information, Verbose, None
- task: UiPathAssets@2
displayName: 'Deploy/Update assets'
inputs:
#orchestratorConnection: 'service-connection-name' # Service connection to UiPath Orchestrator
#assetActionType: 'Deploy' # Options: Deploy, Delete
#csvFile: 'assets_deploy.csv' # the path to the csv file containing the assets description,
#traceLevel: 'None' # Options: Critical, Error, Warning, Information, Verbose, None