UiPath Documentation
cicd-integrations
2023.4
false
Guide de l'utilisateur des intégrations CI/CD
Important :
Veuillez noter que ce contenu a été localisé en partie à l’aide de la traduction automatique. La localisation du contenu nouvellement publié peut prendre 1 à 2 semaines avant d’être disponible.

Déploiement d'un package sur Orchestrator

Prerequisites:

  • Créez un package.
  • Exécutez le fichier CLI exe (pour Windows) ou dll (pour Linux).
  • Add the required Orchestrator API access application scopes.

Pour déployer un package sur Orchestrator, procédez comme suit :

  1. Exécutez la tâche package à l'aide de uipcli package . Vous pouvez voir une liste des sous-tâches disponibles.

  2. Spécifiez les paramètres requis et exécutez la sous-tâche deploy .

    Voir la liste des paramètres ci-dessous.

    Paramètre Description
    -c ou --createProcess

    The default value for is true.

    Lorsqu'il est défini sur true, il crée un processus dans le dossier Orchestrator qui est transmis dans la commande.

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

    -e ou --environments (pour les dossiers classiques)

    Une liste d'environnements dans lesquels vous souhaitez déployer le package, séparés par des virgules.

    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 ou --entryPointsPath

    Définissez les points d'entrée spécifiques pour créer ou mettre à jour un processus. Il s'agit du CheminFichier du point d'entrée à partir de la racine du projet.

    Pour les dossiers classiques, un seul point d'entrée peut être spécifié pour chaque environnement.

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

    Le nom d'utilisateur utilisé pour l'authentification auprès d'Orchestrator. Vous devez l'associer au mot de passe correspondant.

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

    Le mot de passe utilisé pour l'authentification auprès d'Orchestrator. Vous devez l'associer au nom d'utilisateur correspondant.

    -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 ou --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 ou --organizationUnit

    Le nom du dossier Orchestrator (unité d'organisation).

    Pour saisir des sous-dossiers, assurez-vous de saisir à la fois le nom du dossier parent et le nom du sous-dossier. Par exemple, utilisez AccountingTeam/TeamJohn.

    -l ou --language

    La langue utilisée dans l'interface utilisateur d'Orchestrator.

    -y ou --disableTelemetry

    Désactiver les données de télémétrie

    --traceLevel

    Afficher la trace des événements.

    --identityUrl (Required only for PaaS deployments)

    L'URL de votre serveur d'identité.

    --help

    Affiche les paramètres et des exemples de cette commande.

    --version

    Affiche les informations de version.

    Package(s) Path (pos. 0) (Required) Le chemin d'accès à un fichier de package ou le chemin d'accès à un dossier contenant plusieurs packages.

    Orchestrator URL (pos. 1) (Required)

    Il s'agit de l'URL de votre Orchestrator.

    Locataire Orchestrator (pos. 2)

    • (Required) for SaaP deployments.
    • (Optional) for PaaS deployments.`
    Locataire de l'instance d'Orchestrator dans laquelle vous souhaitez supprimer une machine.

La uipcli créera un processus avec un point d’entrée default si vous n’en spécifiez pas. Si le point d’entrée est spécifié, un processus avec ce point d’entrée sera créé et _{entryPoint} sera ajouté au nom du processus. De plus, tous les processus associés au package.Id seront mis à jour vers la dernière version, que le processus ait été créé manuellement ou à partir d’un pipeline.

Utilisation :

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

Exemples  :

  • 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

Cette page vous a-t-elle été utile ?

Connecter

Besoin d'aide ? Assistance

Vous souhaitez apprendre ? UiPath Academy

Vous avez des questions ? UiPath Forum

Rester à jour