uipath-cli
latest
false
UiPath CLI 用户指南
重要 :
请注意,此内容已使用机器翻译进行了本地化。
新发布内容的本地化可能需要 1-2 周的时间才能完成。
"uip Maestro bpmn pack" 的语法和选项,可将 Maestro 项目目录打包到 ".nupkg" 文件中,以用于 Orchestrator 发布。
uip maestro bpmn pack 将 Maestro 项目目录打包到 .nupkg 中,准备作为流程编排版本发布到 Orchestrator。它已在 bpmn 分支下注册。
大纲
uip maestro bpmn pack <projectPath> <outputPath> [-n <name>] [-v <version>]
[--author <author>] [--description <text>]
[--repository-url <url>] [--repository-commit <sha>]
[--repository-branch <branch>] [--repository-type <type>]
[--release-notes <text>] [--project-url <url>]
uip maestro bpmn pack <projectPath> <outputPath> [-n <name>] [-v <version>]
[--author <author>] [--description <text>]
[--repository-url <url>] [--repository-commit <sha>]
[--repository-branch <branch>] [--repository-type <type>]
[--release-notes <text>] [--project-url <url>]
参数
<projectPath>(必填) — Maestro 项目目录的路径(必须包含project.uiproj、.bpmn以及由init创建的元数据文件)。<outputPath>(必填) — 将写入.nupkg的输出目录。
选项
| 选项 | 描述 |
|---|---|
-n, --name <name> | 包名称。默认为项目文件夹名称。 |
-v, --version <version> | 包版本。默认为 1.0.0。 |
--author <author> | 包作者。 |
--description <text> | 包描述。 |
--repository-url <url> | 源存储库 URL,记录在包中以便追踪。 |
--repository-commit <sha> | 记录源存储库提交哈希值,以便追踪。 |
--repository-branch <branch> | 源存储库分支。 |
--repository-type <type> | 源存储库类型。如果设置 git,则默认为 --repository-url。 |
--release-notes <text> | 参阅包的发行说明。 |
--project-url <url> | Automation Hub 概念 URL。 |
示例
# Pack with defaults
uip maestro bpmn pack ./invoice-orchestration ./dist
# Pack with an explicit version
uip maestro bpmn pack ./invoice-orchestration ./dist --version 1.2.0
# Pack with traceability metadata for CI provenance
uip maestro bpmn pack ./invoice-orchestration ./dist --version 1.2.0 \
--repository-url https://github.com/acme/invoice-orchestration \
--repository-commit "$GIT_SHA" --repository-branch main
# Pack with defaults
uip maestro bpmn pack ./invoice-orchestration ./dist
# Pack with an explicit version
uip maestro bpmn pack ./invoice-orchestration ./dist --version 1.2.0
# Pack with traceability metadata for CI provenance
uip maestro bpmn pack ./invoice-orchestration ./dist --version 1.2.0 \
--repository-url https://github.com/acme/invoice-orchestration \
--repository-commit "$GIT_SHA" --repository-branch main
数据形状(--输出 json)
{
"Code": "MaestroPack",
"Data": {
"Package": "invoice-orchestration@1.2.0",
"Output": "./dist/invoice-orchestration.processOrchestration.ProcessOrchestration.1.2.0.nupkg"
}
}
{
"Code": "MaestroPack",
"Data": {
"Package": "invoice-orchestration@1.2.0",
"Output": "./dist/invoice-orchestration.processOrchestration.ProcessOrchestration.1.2.0.nupkg"
}
}
生成的.nupkg文件名对<name>.processOrchestration.ProcessOrchestration.<version>.nupkg进行编码。
另请参阅
uip maestro bpmn init— 优先构建项目uip maestro bpmn debug— 打包前的冒烟测试uip maestro bpmn validate— 打包前验证uip maestro bpmn process publish— 一步完成打包并发布到 Orchestrator- Maestro 概述