uipath-cli
latest
false
UiPath CLI 用户指南
- 概述
- 开始使用
- 概念
- 使用 UiPath CLI
- 操作指南
- CI/CD 方法
- 命令参考
- 迁移
- 参考与支持
重要 :
请注意,此内容已使用机器翻译进行了本地化。
新发布内容的本地化可能需要 1-2 周的时间才能完成。
Syntax and options for `uip maestro bpmn pack`, which packages a Maestro project directory into a `.nupkg` for Orchestrator publication.
uip maestro bpmn pack packages a Maestro project directory into a .nupkg ready to publish to Orchestrator as a Process Orchestration release. It's registered under the bpmn branch.
大纲
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> | Package name. Defaults to the project folder name. |
-v, --version <version> | Package version. Defaults to 1.0.0. |
--author <author> | 包作者。 |
--description <text> | 包描述。 |
--repository-url <url> | Source repository URL, recorded in the package for traceability. |
--repository-commit <sha> | Source repository commit hash, recorded for traceability. |
--repository-branch <branch> | 源存储库分支。 |
--repository-type <type> | Source repository type. Defaults to git when --repository-url is set. |
--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— pack and publish to Orchestrator in one step- Maestro 概述