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

CI/CD 集成用户指南
上次更新日期 2025年7月4日
先决条件:
- 创建一个 CSV 文件,其中包含要部署到 Orchestrator 的资产。
CSV 文件必须包含以下列三列:
name
、type
、value
和description
。 - 运行 CLI
exe
(适用于 Windows)或dll
(适用于 Linux)文件。 - 添加所需的 Orchestrator API 访问应用程序作用域。
有关 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,请执行以下步骤:
用法:
uipcli asset deploy <assets_file> <orchestrator_url> <orchestrator_tenant> [-u <orchestrator_user> -p <orchestrator_pass>] [-t <auth_token> -a <account_name>] [-A <organization_name> -I <application_id> -S <application_secret> --applicationScope <application_scope>] [-o <folder_name>] [-l <language>] [--traceLevel <None|Critical|Error|Warning|Information|Verbose>] [--identityUrl <identity_url>]
uipcli asset deploy <assets_file> <orchestrator_url> <orchestrator_tenant> [-u <orchestrator_user> -p <orchestrator_pass>] [-t <auth_token> -a <account_name>] [-A <organization_name> -I <application_id> -S <application_secret> --applicationScope <application_scope>] [-o <folder_name>] [-l <language>] [--traceLevel <None|Critical|Error|Warning|Information|Verbose>] [--identityUrl <identity_url>]
最小命令示例:
uipcli 资产部署“C:\userprofile\assets.csv” “https://orch-23-10-paas.cloudapp.azure.com/” "TenantName" -u "orchestratorUsername" -p "********" -o "FolderName"--traceLevel "Information"
uipcli 资产部署“C:\userprofile\assets.csv” “https://orch-23-10-paas.cloudapp.azure.com/” "TenantName" -I "76000552-3e4f-4590-9317-cdb420001f1d" -S "********" --applicationScope "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.Monitoring" --identityUrl "https://orch-23-10-paas.cloudapp.azure。 com/identity” -o "FolderName" --traceLevel "Information"
uipcli 资产部署“C:\userprofile\assets.csv” "https://automation-suite.base.url.com/" "TenantName"-A "organizationName" -I "3f6239b9-e0e8-465e-a429-d9ffd1d9e57a" -S "********"--applicationScope "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.Monitoring" -o "FolderName" --traceLevel "Information
uipcli 资产部署“C:\userprofile\assets.csv” "https://cloud.uipath.com/" "TenantName"-A "organizationName"-I "becc663c-8f1e-409a-a75f-c00330d80bc8" -S "********"--applicationScope "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.Monitoring" -o "FolderName" --traceLevel "Information"