cicd-integrations
2024.10
true
- Vue d'ensemble (Overview)
- Interface de ligne de commande UiPath
- À propos de la CLI UiPath
- Téléchargement de la CLI UiPath
- Matrice de compatibilité
- Exécution de la CLI UiPath
- Gestion des flux NuGet
- À propos des tâches CLI UiPath
- Packing projects into a package
- Analyzing a project
- Deploying a package to Orchestrator
- Exécuter une tâche dans Orchestrator
- Tester un package ou exécuter un ensemble de test
- Tester plusieurs packages
- Deploying assets to Orchestrator
- Deleting assets from Orchestrator
- Exécution de tâches à l'aide de la configuration JSON
- Restauration des dépendances de l'automatisation
- Résolution des problèmes d'interface en ligne de commande UiPath
- Extension Azure DevOps
- Plugin Jenkins
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.

Guide de l'utilisateur des intégrations CI/CD
Dernière mise à jour 4 juil. 2025
Si vous rencontrez des problèmes lors de votre utilisation de la CLI UiPath, envisagez les scénarios de résolution de problèmes suivants.
Description:
Vous pouvez rencontrer des problèmes avec les tâches CLI UiPath et les opérations de pipeline si la bonne version de l'infrastructure
.NET
n'est pas installée (ou est manquante) sur votre système.
Lorsque ce problème se produit, vous pouvez rencontrer des messages d’erreur tels que :
-
You must install or update .NET to run this application. App: C:\Program Files (x86)\UiPath CLI\UiPath.CLI.Windows.23.10.8894.39673\tools\uipcli.exe Architecture: x64 Framework: 'Microsoft.NETCore.App', version '6.0.0' (x64) .NET location: C:\Program Files\dotnet The following frameworks were found: 8.0.5 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] 8.0.8 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
You must install or update .NET to run this application. App: C:\Program Files (x86)\UiPath CLI\UiPath.CLI.Windows.23.10.8894.39673\tools\uipcli.exe Architecture: x64 Framework: 'Microsoft.NETCore.App', version '6.0.0' (x64) .NET location: C:\Program Files\dotnet The following frameworks were found: 8.0.5 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] 8.0.8 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] -
An error occurred trying to start process 'dotnet' with working directory 'C:\Users\Public\UiPathDevOpsScripts\uipathcli-23.10\tools'. The system cannot find the file specified. Failed to run the command. UiPath.CommandLine.Exceptions.CommandException: Packaging failed due to one or more errors. Message: An error occurred trying to start process 'dotnet' with working directory 'C:\Users\Public\UiPathDevOpsScripts\uipathcli-23.10\tools'. The system cannot find the file specified. Error at: System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
An error occurred trying to start process 'dotnet' with working directory 'C:\Users\Public\UiPathDevOpsScripts\uipathcli-23.10\tools'. The system cannot find the file specified. Failed to run the command. UiPath.CommandLine.Exceptions.CommandException: Packaging failed due to one or more errors. Message: An error occurred trying to start process 'dotnet' with working directory 'C:\Users\Public\UiPathDevOpsScripts\uipathcli-23.10\tools'. The system cannot find the file specified. Error at: System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
Solution :
Vous devez vous assurer que la bonne version
.NET
est installée.
Pour la matrice de compatibilité des versions CLI et
.NET
, reportez-vous à la section Prérequis .
Dans la plupart des cas, les mots de passe de connexion sont encapsulés par un guillemet unique ('). Cependant, lorsque le mot de passe inclut des caractères spéciaux tels que
`
ou $
, il est nécessaire de procéder différemment.
Dans ces cas, le mot de passe doit être formaté en tant que
\`"<password>\`"
, en remplaçant <password>
par le mot de passe réel. De plus, vous devez également respecter les règles d’échappement comme détaillé dans la table suivante :
Format d’origine dans ADuC |
Format échappé dans la chaîne PowerShell |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
Exemple :
Supposons que le mot de passe d’origine est
7'8:<=XMe$y[@vC?_4ZeY8c-~y'W!1dU4gnczuf'/p>j<I
. En respectant les règles d’échappement des caractères spéciaux, elle devient : Password=\`"7'8:<=XMe`$y[@vC?_4ZeY8c-~y'W!1dU4```gnczuf'/p>```j<I\`"
.