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

Verwalten von UiPath StudioAdmin AOps – SourceControl-Verbindungen, Repositorys, Automatisierungsprojekte, Lösungen, CI/CD-Pipelines und Pipelineausführungen – mit dem Tool „uip aops“.

uip aops verwaltet StudioAdmin AOps (Automation Ops) – die Automatisierungsbestand- und CI/CD-Ebene, die sich über Ihren Source Control-Repositorys befindet. Eine Verbindung verknüpft einen Mandanten mit einem Git-Anbieter (GitHub oder Azure DevOps); AOps erkennt Repositorys, Automatisierungsprojekte und Studio-Lösungen über diese Verbindung; Eine Pipeline definiert eine CI/CD-Erstellungs-/Ausführungskonfiguration für ein Projekt; Jede Pipelineausführung erzeugt eine Ausführung, die Sie überprüfen oder anhalten können.

Dies ist ein Erkennungs- und CI/CD-Tool, kein Erstellungstool – uip aops bearbeitet nie Ihre Projektquelle. Die Verbindungen selbst werden über die StudioAdmin-Benutzeroberfläche bereitgestellt; Diese CLI verbraucht bereits bereitgestellte Verbindungen nach Bezeichner.

Diese Ressource umfasst vier Seiten​

  • Diese Seite – die Konzepte und die gemeinsame Paginierungskonvention.
  • connections – connection (Synchronisieren/Überprüfen einer SourceControl-Verbindung, Erkennen ihrer Repos/Projekte/Lösungen) und repo (Überprüfen der Verzweigungen und Projektdateien eines Repositorys).
  • projects – project (Überprüfen der Dateien, des Inhalts und des Commit-Verlaufs eines Automatisierungsprojekts) und solution (dasselbe für eine Studio-Lösung).
  • pipelines – pipeline (CRUD + Ausführen einer CI/CD-Pipeline) und execution (Protokolle überprüfen/streamen/Pipelineausführung beenden).

Konzepte​

  • Zwei Sicherungsdienste, zwei SDKs. connection, repo, project und solution rufen den SourceControl (SC)-Dienst (@uipath/sc-sdk) auf. pipeline und execution rufen den CICD-Dienst auf (@uipath/cicd-sdk). Es handelt sich um unabhängige Bezeichner-Namespaces – eine Verbindungs-ID ist nie eine Pipeline-ID und so weiter.
  • Typischer Ablauf: connection list (Verbindung finden) → connection sync --wait (aktualisieren) → connection projects <id> / connection repos <id> (Erkennen, was enthalten ist) → pipeline create --file (Definieren einer CI/CD-Pipeline für einen erkannten Prozess) → pipeline run oder pipeline save-and-run → execution logs --follow ( bis zum Abschluss ansehen).
  • Paginierungskonvention. Jedes paginierte Listenverb akzeptiert --offset/--limit (seitenbasiert: --offset muss ein Mehrfaches von --limit sein, sonst schlägt der Befehl clientseitig vor einem Netzwerkaufruf fehl). Standardeinstellungen variieren pro Verb – dokumentiert auf jeder gleichgeordneten Seite.
  • --login-validity <minutes> ist für jedes Verb in allen sechs Befehlsgruppen verfügbar – überschreibt die Lebensdauer des interaktiven Anmeldetokens für diesen einen Aufruf. Selten erforderlich.
  • Destruktive Vorgänge erfordern -y, --yes. connection delete und pipeline delete schlagen beide sofort ohne sie fehl – diese CLI fordert nie interaktiv auf.
  • Fan-out verschlechtert sich, es schlägt nicht sofort fehl. project list (der Aggregator für Verbindungen) fragt jede sichtbare Verbindung parallel ab; Wenn einige Verbindungen nicht gelesen werden können, werden die erreichbaren Projekte dennoch mit einer Warning -Datei zurückgegeben, die angibt, welche Verbindungen übersprungen wurden. Nur ein Fehler bei allen Verbindungen ist ein schwerwiegender Fehler.

Zusammenfassung​

uip aops connection list
uip aops connection state [--connection <id>]
uip aops connection sync [connection-id] [--wait] [--timeout <ms>] [--poll-interval <ms>]
uip aops connection delete <connection-id> -y
uip aops connection repos <connection-id> [--azure-projects-ids <csv>] [--organization-identifier <name>]
uip aops connection repos-bulk --ids <csv>
uip aops connection projects <connection-id> [--repository-ids <csv>] [--target-framework <name>] [--project-type <type>] [--sort-by <field>] [--sort-order <asc|desc>] [--offset <n>] [--limit <n>] [--search <term>]
uip aops connection solutions <connection-id> [--offset <n>] [--limit <n>] [--search <term>]
uip aops connection azure-projects <connection-id> [--organization-identifier <name>]

uip aops repo branches <repo-id>
uip aops repo project-files <repo-id> [--reference <ref>]

uip aops project list [--connections <csv>] [--target-framework <name>] [--project-type <type>] [--offset <n>] [--limit <n>] [--search <term>]
uip aops project get --project-id <id> [--reference <ref>] [--with-branches]
uip aops project files --project-id <id> [--path <path>] [--reference <ref>]
uip aops project content --project-id <id> --path <path> [--reference <ref>]
uip aops project commits --project-id <id> [--path <path>] [--branch <name>] [--offset <n>] [--limit <n>] [--search <term>]
uip aops project commit --project-id <id> --reference <sha>

uip aops solution get <solution-id>
uip aops solution commits <solution-id> [--path <path>] [--branch <name>] [--offset <n>] [--limit <n>] [--search <term>]

uip aops pipeline list [--repository-ids <csv>] [--offset <n>] [--limit <n>] [--search <term>]
uip aops pipeline state
uip aops pipeline processes
uip aops pipeline process <process-id>
uip aops pipeline repos
uip aops pipeline get <pipeline-id> [--for-update] [--output-file <path>]
uip aops pipeline search [--name <name> | --prefix <prefix>]
uip aops pipeline create --file <path> [--telemetry-flow-id <id>]
uip aops pipeline update <pipeline-id> --file <path>
uip aops pipeline delete <pipeline-id> -y
uip aops pipeline run <pipeline-id>
uip aops pipeline save-and-run --file <path> [--telemetry-flow-id <id>]
uip aops pipeline executions <pipeline-id> [--offset <n>] [--limit <n>]
uip aops pipeline executions-bulk --ids <csv>

uip aops execution get <execution-id> [--with-arguments]
uip aops execution logs [execution-id] [--job-key <key>] [--follow] [--limit <n>] [--poll-interval <ms>] [--timeout <ms>]
uip aops execution details [execution-id] [--job-key <key>]
uip aops execution stop [execution-id] [--job-key <key>] [--wait] [--poll-interval <ms>] [--timeout <ms>]
uip aops connection list
uip aops connection state [--connection <id>]
uip aops connection sync [connection-id] [--wait] [--timeout <ms>] [--poll-interval <ms>]
uip aops connection delete <connection-id> -y
uip aops connection repos <connection-id> [--azure-projects-ids <csv>] [--organization-identifier <name>]
uip aops connection repos-bulk --ids <csv>
uip aops connection projects <connection-id> [--repository-ids <csv>] [--target-framework <name>] [--project-type <type>] [--sort-by <field>] [--sort-order <asc|desc>] [--offset <n>] [--limit <n>] [--search <term>]
uip aops connection solutions <connection-id> [--offset <n>] [--limit <n>] [--search <term>]
uip aops connection azure-projects <connection-id> [--organization-identifier <name>]

uip aops repo branches <repo-id>
uip aops repo project-files <repo-id> [--reference <ref>]

uip aops project list [--connections <csv>] [--target-framework <name>] [--project-type <type>] [--offset <n>] [--limit <n>] [--search <term>]
uip aops project get --project-id <id> [--reference <ref>] [--with-branches]
uip aops project files --project-id <id> [--path <path>] [--reference <ref>]
uip aops project content --project-id <id> --path <path> [--reference <ref>]
uip aops project commits --project-id <id> [--path <path>] [--branch <name>] [--offset <n>] [--limit <n>] [--search <term>]
uip aops project commit --project-id <id> --reference <sha>

uip aops solution get <solution-id>
uip aops solution commits <solution-id> [--path <path>] [--branch <name>] [--offset <n>] [--limit <n>] [--search <term>]

uip aops pipeline list [--repository-ids <csv>] [--offset <n>] [--limit <n>] [--search <term>]
uip aops pipeline state
uip aops pipeline processes
uip aops pipeline process <process-id>
uip aops pipeline repos
uip aops pipeline get <pipeline-id> [--for-update] [--output-file <path>]
uip aops pipeline search [--name <name> | --prefix <prefix>]
uip aops pipeline create --file <path> [--telemetry-flow-id <id>]
uip aops pipeline update <pipeline-id> --file <path>
uip aops pipeline delete <pipeline-id> -y
uip aops pipeline run <pipeline-id>
uip aops pipeline save-and-run --file <path> [--telemetry-flow-id <id>]
uip aops pipeline executions <pipeline-id> [--offset <n>] [--limit <n>]
uip aops pipeline executions-bulk --ids <csv>

uip aops execution get <execution-id> [--with-arguments]
uip aops execution logs [execution-id] [--job-key <key>] [--follow] [--limit <n>] [--poll-interval <ms>] [--timeout <ms>]
uip aops execution details [execution-id] [--job-key <key>]
uip aops execution stop [execution-id] [--job-key <key>] [--wait] [--poll-interval <ms>] [--timeout <ms>]
  • connections – SourceControl-Verbindungen und Repositorys.
  • projects – Automatisierungsprojekte und Studio-Lösungen.
  • pipelines – CI/CD-Pipelines und -ausführungen.

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