- 入门指南
- Studio
- Orchestrator
- 测试机器人
- Test Manager
- CI/CD 集成
将资产部署到 Orchestrator
先决条件:
- 创建一个 CSV 文件,其中包含要部署到 Orchestrator 的资产。
CSV 文件必须包含以下列三列:
name
、type
、value
和description
。 - 运行 CLI
exe
(适用于 Windows)或dll
(适用于 Linux)文件。 - 在下方添加 Orchestrator API 访问应用程序作用域:
应用程序作用域
描述
OR. 资产
在 Orchestrator 中具有资产读取和写入权限。
OR.BackgroundTasks
在 Orchestrator 中的后台任务读取和写入权限。
OR. 执行
在 Orchestrator 中具有执行读取和写入权限。
OR. 文件夹
在 Orchestrator 中具有文件夹读取和写入权限。
OR. 作业
在 Orchestrator 中具有作业读取和写入权限。
OR. 计算机. 读取
在 Orchestrator 中具有计算机读取权限。
或. 监控
在 Orchestrator 中具有监控读取和写入权限。
OR.Robots.Read
Orchestrator 中的机器人具有读取权限。
OR.设置.读取
在 Orchestrator 中具有设置读取权限。
OR.测试集
在 Orchestrator 中具有测试集读取和写入权限。
OR.TestSet 执行次数
在 Orchestrator 中具有测试集执行读取和写入权限。
OR.TestSet 计划
测试集计划在 Orchestrator 中具有读取和写入权限。
OR.Users.Read
在 Orchestrator 中具有用户读取权限。
有关 CSV 文件的详细信息,请参阅下面的示例。
name |
类型 |
值 |
描述 |
---|---|---|---|
asset_1_name |
text |
“我有意见” |
asset_1_description |
asset_2_name |
整数 |
|
asset_2_description |
asset_3_name |
Bool |
|
asset_3_description |
asset_4_name |
凭据 |
username:password |
asset_4_description |
要将资产部署到 Orchestrator:
示例:
asset deploy assets_file.csv "https://uipath-orchestrator.myorg.com" default -u admin -p 123456 -l en-US
。asset deploy assets_file.csv "https://uipath-orchestrator.myorg.com" default -u admin -p 123456 -o OurOrganization
。asset deploy assets_file.csv "https://uipath-orchestrator.myorg.com" default -t a7da29a2c93a717110a82 -a myAccount
。asset delete assets_file.csv "https://uipath-orchestrator.myorg.com" default -A accountForExternalApp -I myExternalAppId -S myExternalAppSecret --applicationScope "OR.Folders.Read OR.Settings.Read"
。