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

UIP-codierter App Push

Syntax und Optionen für „uip codedapp push“, die eine lokale Quelle in ein Projekt mit einer codierten Studio Web-App hochlädt.

uip codedapp push uploads local source to a Studio Web project. It uploads the build output in --build-dir (default dist) and the project's source files from the project root, after an optional resource import. Use it to ship local edits back to a project that was originally pulled from Studio Web.

Zusammenfassung​

uip codedapp push [options]
uip codedapp push [options]

Optionen​

MarkierenBeschreibung
--project-id <id>WebApp-Projekt-ID. Liest aus Projektmetadaten im Arbeitsverzeichnis, wenn keine Angabe erfolgt.
--build-dir <dir>Ausgabeverzeichnis erstellen. Standard: dist.
--ignore-resourcesImportieren referenzierter Ressourcen überspringen.
--allow-large-filesAllow pushing files between 2 MB and 10 MB without a confirmation prompt. Required in non-interactive runs when any file is 2 MB or larger.
-v, --version <version>Legen Sie eine explizite Codeversion fest (z. B. 2.0.0).
--verboseDetaillierte Fortschrittsprotokolle anzeigen.
--base-url <url>UiPath-Basis-URL (Authentifizierung überschreiben).
--org-id <id>Organisations-ID (Authentifizierung überschreiben).
--tenant-id <id>Mandanten-ID (Authentifizierung überschreiben).
--access-token <token>Zugriffstoken (Authentifizierung überschreiben).

Excluding files​

push reads exclusion patterns from .gitignore and .uipignore in the project root. .uipignore uses the same syntax as .gitignore, and its patterns take precedence when the two files disagree. The following are always excluded, with or without an ignore file:

  • node_modules/ und .uipath/
  • .gitignore, .uipignore, .gitkeep
  • .env files, including .env.local, .env.*.local, .env.development, .env.production, .env.test, and .env.example
  • Any other file or folder whose name starts with a dot

File checks​

Before uploading, push checks every file it would send:

Prüfen (Check)Ergebnis
File extension not in the allowed set of web-related typesPush blocked. The disallowed files are listed.
File of 10 MB or largerPush blocked.
File of 2 MB or larger, below 10 MBInteractive: confirmation prompt. Non-interactive: push blocked unless you pass --allow-large-files.
action-schema.json present and invalidPush blocked.

Beispiele​

# Push from the default ./dist build directory
uip codedapp push --project-id a1b2c3d4-0000-0000-0000-000000000001

# Custom build directory and explicit version
uip codedapp push --project-id a1b2c3d4-0000-0000-0000-000000000001 \
    --build-dir build \
    --version 2.0.0

# Push files between 2 MB and 10 MB without a prompt (CI)
uip codedapp push --project-id a1b2c3d4-0000-0000-0000-000000000001     --allow-large-files

# Skip resource imports
uip codedapp push --project-id a1b2c3d4-0000-0000-0000-000000000001 \
    --ignore-resources
# Push from the default ./dist build directory
uip codedapp push --project-id a1b2c3d4-0000-0000-0000-000000000001

# Custom build directory and explicit version
uip codedapp push --project-id a1b2c3d4-0000-0000-0000-000000000001 \
    --build-dir build \
    --version 2.0.0

# Push files between 2 MB and 10 MB without a prompt (CI)
uip codedapp push --project-id a1b2c3d4-0000-0000-0000-000000000001     --allow-large-files

# Skip resource imports
uip codedapp push --project-id a1b2c3d4-0000-0000-0000-000000000001 \
    --ignore-resources

Datenform (--output json)​

{
  "Code": "PushCompleted",
  "Data": { "message": "Push completed successfully." }
}
{
  "Code": "PushCompleted",
  "Data": { "message": "Push completed successfully." }
}

A failed push returns Result: "Failure" with Message: "Push failed" and the cause in Instructions.

  • uip codedapp pull – Rufen Sie ein Remoteprojekt vor der Bearbeitung auf die lokale Festplatte ab.
  • uip codedapp pack – verpacken Sie den Build für die Veröffentlichung, sobald er gepusht wurde.

Siehe auch​

War diese Seite hilfreich?

Verbinden

Benötigen Sie Hilfe? Support(opens in new window)

Möchten Sie lernen? UiPath Academy(opens in new window)

Haben Sie Fragen? UiPath-Forum(opens in new window)

Auf dem neuesten Stand bleiben