UiPath Documentation
cicd-integrations
2023.4
false
Benutzerhandbuch zu CI/CD-Integrationen
Wichtig :
Bitte beachten Sie, dass dieser Inhalt teilweise mithilfe von maschineller Übersetzung lokalisiert wurde. Es kann 1–2 Wochen dauern, bis die Lokalisierung neu veröffentlichter Inhalte verfügbar ist.

Bereitstellen eines Pakets im Orchestrator

Prerequisites:

  • Erstellen Sie das Paket.
  • Führen Sie die CLI-Datei exe (für Windows) oder dll (für Linux) aus.
  • Add the required Orchestrator API access application scopes.

Um ein Paket im Orchestrator bereitzustellen, führen Sie die folgenden Schritte aus:

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

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

    Siehe die Liste der Parameter unten.

    Parameter Beschreibung
    -c oder --createProcess

    The default value for is true.

    Wenn sie auf true festgelegt ist, wird ein Prozess im Orchestrator-Ordner erstellt, der im Befehl übergeben wird.

    When set to false, it doesn't create a process in the Orchestrator folder. For example, --createProcess false.

    -e oder --environments (für klassische Ordner)

    Eine durch Kommas getrennte Liste der Umgebungen, in denen Sie das Paket bereitstellen möchten.

    If the environment doesn't belong to the default folder (organization unit), you must prefix the environment name with the folder name. For example, if the environment is TestEnvironment, and the folder name is AccountingTeam, then write the environment as AccountingTeam\TestEnvironment.

    -h oder --entryPointsPath

    Definiert die spezifischen Einstiegspunkte zum Erstellen oder Aktualisieren des Prozesses. Dies ist der Dateipfad des Einstiegspunkts, beginnend beim Stamm des Projekts.

    Bei klassischen Ordnern kann für jede Umgebung nur ein einzelner Einstiegspunkt angegeben werden.

    -u, or --username (Required if you use Basic Authentication, through a username and a password)

    Der Benutzername, der für die Authentifizierung bei Orchestrator verwendet wird. Sie müssen es mit dem entsprechenden Kennwort koppeln.

    -p, or --password (Required if you use Basic Authentication, through a username and a password)

    Das Kennwort, das für die Authentifizierung beim Orchestrator verwendet wird. Sie müssen es mit dem entsprechenden Benutzernamen koppeln.

    -t, or --token (Required if you use token-based authentication)

    The OAuth2 refresh token used for authenticating to Orchestrator. You must pair it with the Account Name and Client ID.

    -a, or --accountName (Required if you use token-based authentication)

    The Orchestrator CloudRPA account name. You must pair it with the OAuth2 refresh token and Client ID.

    -A oder --accountForApp

    The Orchestrator CloudRPA account name (organization name). You must pair it with the Application ID,Application Secret, and Application scope for external application

    -I, or --applicationId (Required if you use external application authentication)

    The external Application ID. You must pair it with the Application Account,Application Secret, and Application scope.

    -S, or --applicationSecret (Required if you use external application authentication)

    The external Application Secret. You must pair it with the Application Account,Application ID, and Application scope.

    --applicationScope (Required if you use external application authentication)

    The list of application scopes, separated by single spaces. You must pair it with the Application Account,Application ID, and Application Secret for external application.

    -o oder --organizationUnit

    Der Name des Orchestrator-Ordners (Organisationseinheit).

    Um Unterordner einzugeben, geben Sie sowohl den Namen des übergeordneten Ordners als auch den Namen des Unterordners ein. Zum Beispiel AccountingTeam/TeamJohn.

    -l oder --language

    Die Sprache, die in der Orchestrator-Benutzeroberfläche verwendet wird.

    -y oder --disableTelemetry

    Deaktivieren der Telemetriedaten.

    --traceLevel

    Zeigt die Ablaufverfolgung der Ereignisse an.

    --identityUrl (Required only for PaaS deployments)

    Die URL Ihres Identitätsservers.

    --help

    Zeigt die Parameter und Beispiele für diesen Befehl an.

    --version

    Zeigt Versionsinformationen an.

    Package(s) Path (pos. 0) (Required) Der Pfad zu einer Paketdatei oder der Pfad zu einem Ordner, der mehrere Pakete enthält.

    Orchestrator URL (pos. 1) (Required)

    Die URL der Orchestrator-Instanz.

    Orchestrator-Mandant (Pos. 2)

    • (Required) for SaaP deployments.
    • (Optional) for PaaS deployments.`
    Der Mandant der Orchestrator-Instanz, in der Sie eine Maschine löschen möchten.

uipcli erstellt einen Prozess mit einem default-Einstiegspunkt, wenn Sie keinen angeben. Wenn der Einstiegspunkt angegeben ist, wird ein Prozess mit diesem Einstiegspunkt erstellt und _{entryPoint} wird an den Prozessnamen angehängt. Darüber hinaus werden alle Prozesse, die der package.Id zugeordnet sind, auf die neueste Version aktualisiert, unabhängig davon, ob der Prozess manuell oder in einer Pipeline erstellt wurde.

Verwendung:

package deploy <packages_path> <orchestrator_url> <orchestrator_tenant> [-u <orchestrator_user> -p <orchestrator_pass>] [-t <auth_token> -a <account_name>] [-A <account_for_app> -I <application_id> -S <application_secret> --applicationScope] [-o <folder_organization_unit>] [-c <create_process>] [-e <environment_list>] [-l <language>]
package deploy <packages_path> <orchestrator_url> <orchestrator_tenant> [-u <orchestrator_user> -p <orchestrator_pass>] [-t <auth_token> -a <account_name>] [-A <account_for_app> -I <application_id> -S <application_secret> --applicationScope] [-o <folder_organization_unit>] [-c <create_process>] [-e <environment_list>] [-l <language>]

Beispiele:

  • package deploy "C:\UiPath\Project 1" "https://uipath-orchestrator.myorg.com" default -u admin -p 123456
  • package deploy "C:\UiPath\Project\Package.1.0.6820.22047.nupkg" "https://uipath-orchestrator.myorg.com" default -u admin -p 123456 -o OurOrganization
  • package deploy "C:\UiPath\Project\TestsPackage.1.0.6820.22047.nupkg" "https://uipath-orchestrator.myorg.com" default -u admin -p 123456 -e SAPEnvironment,ExcelAutomationEnvironment -l en-US
  • package deploy "C:\UiPath\Project\Package.1.0.6820.22047.nupkg" "https://uipath-orchestrator.myorg.com" default -t a7da29a2c93a717110a82 -a myAccount
  • package deploy "C:\UiPath\Project\TestsPackage.1.0.6820.22047.nupkg" "https://uipath-orchestrator.myorg.com" default -A myAccountForExternalApp -I myExternalAppId -S myExternalAppSecret --applicationScope "OR.Folders.Read OR.Settings.Read"
  • package deploy "C:\UiPath\Project\TestsPackage.1.0.6820.22047.nupkg" "https://uipath-orchestrator.myorg.com" default -u admin -p 123456 -e SAPEnvironment,ExcelAutomationEnvironment -l en-US -h EntryPoint1,EntryPoint2

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