UiPath Documentation
uipath-cli
latest
false
Guía del usuario de UiPath CLI
Importante :
Este contenido se ha traducido mediante traducción automática. La localización de contenidos recién publicados puede tardar entre una y dos semanas en estar disponible.

uip maestro bpmn pack

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.

Sinopsis

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>]

Prevalece las opciones globales. Los códigos de salida siguen el contrato estándar.

Argumentos

  • <projectPath> (obligatorio) : ruta al directorio del proyecto de Maestro (debe contener project.uiproj, un .bpmn y los archivos de metadatos creados por init).
  • <outputPath> (obligatorio) : directorio de salida donde se escribirá .nupkg .

Opciones

OpciónDescripción
-n, --name <name>Package name. Defaults to the project folder name.
-v, --version <version>Package version. Defaults to 1.0.0.
--author <author>Autor del paquete.
--description <text>Descripción del paquete.
--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>Rama del repositorio de origen.
--repository-type <type>Source repository type. Defaults to git when --repository-url is set.
--release-notes <text>Notas de la versión del paquete.
--project-url <url>URL de la idea de Automation Hub.

Ejemplos

# 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

Forma de datos (--json de salida)

{
  "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"
  }
}

El nombre de archivo .nupkg generado codifica <name>.processOrchestration.ProcessOrchestration.<version>.nupkg.

Ver también

¿Te ha resultado útil esta página?

Conectar

¿Necesita ayuda? Soporte

¿Quiere aprender? UiPath Academy

¿Tiene alguna pregunta? Foro de UiPath

Manténgase actualizado