cicd-integrations
2025.10
true
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。
UiPath logo, featuring letters U and I in white

CI/CD 集成用户指南

上次更新日期 2025年11月18日

UiPath 管理资产

您可以使用此任务在 Orchestrator 实例上部署、更新或删除资产。

支持以下资产类型:

  • Text - 仅存储字符串(不需要添加引号)
  • Boolean - 支持值 True 或 False
  • Integer - 仅存储整数
  • Credential - 包含机器人执行特定流程所需的用户名和密码。对于此资产类型,您需要通过使用 :: 分隔两个字段来对用户名和密码进行编码。

要部署资产,您需要将其添加到以 UTF-8 编码的 CSV 文件中,如下例所示:

name,type,value,descriptionasset_1_name,text,asset_value,this is an asset description   # we can have commentsasset_2_name,integer,123asset_3_name,boolean,falseasset_4_name,credential,"username::password"name,type,value,descriptionasset_1_name,text,asset_value,this is an asset description   # we can have commentsasset_2_name,integer,123asset_3_name,boolean,falseasset_4_name,credential,"username::password"

有关更多信息,请参阅“Orchestrator 资产”。

配置

使用下表配置“UiPath 管理资产”输入。

参数 描述
显示名称是必填项 输入租户的名称。
需要 Orchestrator 连接。 配置服务连接以访问 UiPath Orchestrator 服务。您只能为此步骤配置连接,也可以使用现有的全局连接。有关更多信息,请参阅“配置 UiPath Orchestrator 服务连接”。
Orchestrator 文件夹(必需) 指定正在部署流程的文件夹。对于传统文件夹,您可以使用指定的机器人名称。对于新式文件夹,您可以使用指定的用户和计算机名称。

要输入子文件夹,请确保同时输入父文件夹的名称和子文件夹的名称。例如,使用“AccountingTeam\TeamJohn”。

选择资产操作(必填) 从下拉列表中选择一个选项。
资产 CSV 文件(必填) 添加 CSV 文件路径。您可以将同一文件用于“部署”和“更新”资产操作。注意事项:
  • 允许在值中使用引号(例如""A new version of RPA REPORT – AM Email Quote to Agent is available""
  • 支持 JSON 值(例如"{""MaxRetryNumber"":3,""Name"":My Test Process}"
  • 不支持注释 (例如asset_1_name,credential,""username::password"" # asset_1_description comment
对于“删除资产”操作,您只能使用名称列,并将其他列留空。(可选)您可以使用以下语法为每个资产设置说明: type, value ,description
追踪级别 从下拉列表中选择用户。

YAML 管道

您可以为“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
  • 配置
  • YAML 管道

此页面有帮助吗?

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