UiPath Documentation
cicd-integrations
2025.10
true

Benutzerhandbuch zu CI/CD-Integrationen

Letzte Aktualisierung 7. Mai 2026

Wiederherstellen von Automatisierungsabhängigkeiten

Prerequisites:

Führen Sie die folgenden Schritte aus, um die Abhängigkeiten wiederherzustellen:

  1. Führen Sie die package -Aufgabe mit uipcli package aus. Sie können eine Liste der verfügbaren Unteraufgaben sehen.

  2. Geben Sie die erforderlichen Parameter an und führen Sie die Unteraufgabe restore aus.

    In der folgenden Tabelle sind die erforderlichen Parameter beschrieben:

    ParameterBeschreibung
    --restoreFolderErforderlich. Pfad des Zielordners wiederherstellen.
    --nugetConfigFilePathOptional. Pfad zur NuGet.Config-Datei mit Feeds. Das <clear /> -Tag von der angegebenen Datei wird ignoriert und nur Quellen berücksichtigt.
    -u, --libraryOrchestratorUsernameOptional, nur nützlich, wenn Sie Abhängigkeiten von einer Bibliothek in Orchestrator haben. Der Orchestrator-Benutzername, der für die Authentifizierung verwendet wird. Muss zusammen mit dem Kennwort verwendet werden.
    -p, --libraryOrchestratorPasswordOptional, nur nützlich, wenn Sie Abhängigkeiten von einer Bibliothek in Orchestrator haben. Das für die Authentifizierung verwendete Orchestrator-Kennwort. Muss zusammen mit dem Benutzernamen verwendet werden.
    -t, --libraryOrchestratorAuthTokenOptional, nur nützlich, wenn Sie Abhängigkeiten von einer Bibliothek in Orchestrator haben. Das für die Authentifizierung verwendete Orchestrator-Aktualisierungstoken. Muss zusammen mit dem Organisationsnamen und der Client-ID verwendet werden.
    -a, --libraryOrchestratorAccountNameOptional, nur nützlich, wenn Sie Abhängigkeiten von einer Bibliothek in Orchestrator haben. Der Name der Orchestrator-Organisation. Muss zusammen mit dem Aktualisierungstoken und der Client-ID verwendet werden.
    -A, --libraryOrchestratorAccountForAppOptional, nur nützlich, wenn Sie Abhängigkeiten von einer Bibliothek in Orchestrator haben. Der Name der Orchestrator-Organisation. Muss zusammen mit ID, Geheimnis und Scope(s) für eine externe Anwendung verwendet werden.
    -I, --libraryOrchestratorApplicationIdOptional, nur nützlich, wenn Sie Abhängigkeiten von einer Bibliothek in Orchestrator haben. Die ID der externen Anwendung. Muss zusammen mit Organisationsname, Geheimnis und Scope(s) für eine externe Anwendung verwendet werden.
    -S, --libraryOrchestratorApplicationSecretOptional, nur nützlich, wenn Sie Abhängigkeiten von einer Bibliothek in Orchestrator haben. Der geheime Schlüssel der externen Anwendung. Muss zusammen mit Organisationsname, ID und Scope(s) für eine externe Anwendung verwendet werden.
    --libraryOrchestratorApplicationScopeOptional, nur nützlich, wenn Sie Abhängigkeiten von einer Bibliothek in Orchestrator haben. Die durch Leerzeichen getrennte Liste der Anwendungs-Scopes. Muss zusammen mit Organisationsname, ID und Geheimschlüssel für eine externe Anwendung verwendet werden.
    --libraryOrchestratorUrlOptional, nur nützlich, wenn Sie Abhängigkeiten von einer Bibliothek in Orchestrator haben. Die Orchestrator-URL.
Hinweis:

Wenn Sie die Authentifizierung einer externen Anwendung verwenden, ohne den Parameter --libraryOrchestratorApplicationScope anzugeben, wendet die CLI automatisch diese standardmäßigen Orchestrator-Scopes an:

OR.Assets OR.BackgroundTasks OR.Execution OR.Folders OR.Robots.Read OR.Machines.Read OR.Jobs OR.TestSets OR.TestSetExecutions OR.Monitoring OR.Settings.Read

| --libraryOrchestratorTenant | Optional, useful only when you have dependencies from a library in Orchestrator. The Orchestrator tenant. | | --libraryIdentityUrl(Required for PaaS or MSI deployments) | URL of your identity server. | | --traceLevel | Specifies what types of log messages to output one of the following values: None, Critical, Error, Warning, Information, Verbose. Default value: Information. | | -l, --language | Language for the translated logs. | | --disableBuiltInNugetFeeds | Disable built in nuget feeds. | | Project(s) Path (pos. 0) | Required. The path to a project.json file, or to a folder that contains project.json files. | | --ca-cert | One or more trusted root CA certificate files (PEM, DER, or PKCS#7) used when validating the Orchestrator and Identity Server TLS certificates. Repeat the flag or comma-separate multiple paths. See Trusting custom certificates for details. | | --pinnedpubkey | Pin the server leaf certificate's public key. Format: sha256//<base64>. Checked in addition to standard certificate validation. See Trusting custom certificates for details. |

Tipp:

For Orchestrator instances signed by a private Certificate Authority (such as UiPath Automation Suite), this command also accepts --ca-cert and --pinnedpubkey parameters. See Trusting custom certificates for scenarios and examples.

Verwendung:

uipcli package restore <project_path> --restoreFolder <restore_directory> --nugetConfigFilePath <nuget_config_path> [--libraryOrchestratorUrl <orchestrator_url> --libraryOrchestratorTenant <orchestrator_tenant>] [--u <orchestrator_user> --p <orchestrator_pass>] [--t <auth_token> --a <account_name>] [-A <organization_name> -I <application_id> -S <application_secret> --libraryOrchestratorApplicationScope <application_scope>] [--libraryIdentityUrl <identity_url>] [--libraryOrchestratorFolder <folder_name>] [-l <language>] [--disableBuiltInNugetFeeds] [--traceLevel <None|Critical|Error|Warning|Information|Verbose>]
uipcli package restore <project_path> --restoreFolder <restore_directory> --nugetConfigFilePath <nuget_config_path> [--libraryOrchestratorUrl <orchestrator_url> --libraryOrchestratorTenant <orchestrator_tenant>] [--u <orchestrator_user> --p <orchestrator_pass>] [--t <auth_token> --a <account_name>] [-A <organization_name> -I <application_id> -S <application_secret> --libraryOrchestratorApplicationScope <application_scope>] [--libraryIdentityUrl <identity_url>] [--libraryOrchestratorFolder <folder_name>] [-l <language>] [--disableBuiltInNugetFeeds] [--traceLevel <None|Critical|Error|Warning|Information|Verbose>]

Beispiele für Mindestbefehle:

  • uipcli package restore "C:\userprofile\AutomationProject" --traceLevel Information --restoreFolder ""C:\userprofile\DependencyPackages" --nugetConfigFilePath "C:\userprofile\Package\NuGet.Config"
  • uipcli package restore "C:\userprofile\AutomationProject" --traceLevel Information --restoreFolder "C:\userprofile\DependencyPackages" --libraryOrchestratorUrl "https://orch-23-10-paas.cloudapp.azure.com/" --libraryOrchestratorTenant "TenantName" -u "orchestratorUsername" -p "********" --orchestratorFolder "FolderName"
  • uipcli package restore "C:\userprofile\AutomationProject" --traceLevel Information --restoreFolder "C:\userprofile\DependencyPackages" --libraryOrchestratorUrl "https://orch-23-10-paas.cloudapp.azure.com/" --libraryOrchestratorTenant "TenantName" -A "organizationName" -I "76000552-3e4f-4590-9317-cdb420001f1d" -S '********' --libraryOrchestratorApplicationScope "OR.Folders OR.BackgroundTasks OR.TestSets OR.TestSetExecutions OR.TestSetSchedules OR.Settings.Read OR.Robots.Read OR.Machines.Read OR.Execution OR.Assets OR.Users.Read OR.Jobs OR.Monitoring" --libraryOrchestratorFolder "FolderName" --libraryIdentityUrl "https://orch-23-10-paas.cloudapp.azure.com/identity"
  • uipcli package restore "C:\userprofile\AutomationProject" --traceLevel Information --restoreFolder "C:\userprofile\DependencyPackages" --libraryOrchestratorUrl "https://automation-suite.base.url.com/" --libraryOrchestratorTenant "TenantName" -A "organizationName" -I "3f6239b9-e0e8-465e-a429-d9ffd1d9e57a" -S '********' --libraryOrchestratorApplicationScope "OR.Folders OR.BackgroundTasks OR.TestSets OR.TestSetExecutions OR.TestSetSchedules OR.Settings.Read OR.Robots.Read OR.Machines.Read OR.Execution OR.Assets OR.Users.Read OR.Jobs OR.Monitoring" --libraryOrchestratorFolder "FolderName"
  • uipcli package restore "C:\userprofile\AutomationProject" --traceLevel Information --restoreFolder "C:\userprofile\DependencyPackages" --libraryOrchestratorUrl "https://cloud.uipath.com/" --libraryOrchestratorTenant "TenantName" -A "organizationName" -I "becc663c-8f1e-409a-a75f-c00330d80bc8" -S '********' --libraryOrchestratorApplicationScope "OR.Folders OR.BackgroundTasks OR.TestSets OR.TestSetExecutions OR.TestSetSchedules OR.Settings.Read OR.Robots.Read OR.Machines.Read OR.Execution OR.Assets OR.Users.Read OR.Jobs OR.Monitoring" --libraryOrchestratorFolder "FolderName"

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