UiPath Documentation
uipath-cli
latest
false
Wichtig :
Dieser Inhalt wurde maschinell übersetzt. Es kann 1–2 Wochen dauern, bis die Lokalisierung neu veröffentlichter Inhalte verfügbar ist.

UiPath-CLI-Benutzerhandbuch

UIP-API-Workflow-Paket

uip api-workflow pack erstellt ein API-Workflow-Projekt und verpackt es in ein .nupkg das bereit zur Veröffentlichung ist. Codesignierung ist optional – übergeben Sie einen .pfx -Zertifikatspfad, ein Passwort und einen Zeitstempelserver, um ein signiertes Paket zu erstellen.

Zusammenfassung

uip api-workflow pack <projectPath> <destinationPath> [options]
uip api-workflow pack <projectPath> <destinationPath> [options]
  • <projectPath> – Der Pfad zum API Workflow-Projektverzeichnis oder zur .uip -Datei.
  • <destinationPath> – das Verzeichnis, in das .nupkg geschrieben wird.

Optionen

MarkierenBeschreibung
--package-id <id>NuGet-Paket-ID (überschreibt den Projektstandard).
--package-version <version>NuGet-Paketversion.
--package-author <author>NuGet-Paketautor.
--package-description <desc>NuGet-Paketbeschreibung.
--signing-certificate-path <path>Pfad zu einem .pfx -Zertifikat zum Signieren.
--signing-certificate-password <password>Zertifikatkennwort.
--signing-timestamp-server <url>Zeitstempelserver-URL für signierte Pakete.

Beispiele

# Pack with the project's defaults
uip api-workflow pack ./my-workflow ./output

# Override package metadata
uip api-workflow pack ./my-workflow ./output \
    --package-id MyOrg.Workflows.Onboarding \
    --package-version 1.2.0 \
    --package-author "Contoso Ltd."

# Sign the package
uip api-workflow pack ./my-workflow ./output \
    --signing-certificate-path ./certs/codesign.pfx \
    --signing-certificate-password "$CERT_PASSWORD" \
    --signing-timestamp-server http://timestamp.digicert.com
# Pack with the project's defaults
uip api-workflow pack ./my-workflow ./output

# Override package metadata
uip api-workflow pack ./my-workflow ./output \
    --package-id MyOrg.Workflows.Onboarding \
    --package-version 1.2.0 \
    --package-author "Contoso Ltd."

# Sign the package
uip api-workflow pack ./my-workflow ./output \
    --signing-certificate-path ./certs/codesign.pfx \
    --signing-certificate-password "$CERT_PASSWORD" \
    --signing-timestamp-server http://timestamp.digicert.com

Datenform (--output json)

{
  "Code": "ApiWorkflowPack",
  "Data": {
    "Success": true,
    "Packages": ["./output/my-workflow.1.0.0.nupkg"]
  }
}
{
  "Code": "ApiWorkflowPack",
  "Data": {
    "Success": true,
    "Packages": ["./output/my-workflow.1.0.0.nupkg"]
  }
}

Siehe auch

War diese Seite hilfreich?

Verbinden

Benötigen Sie Hilfe? Support

Möchten Sie lernen? UiPath Academy

Haben Sie Fragen? UiPath-Forum

Auf dem neuesten Stand bleiben