I’m trying to automate a build on GitLab.com, which we use to store project artifacts from UiPath Studio. All attempts so far have failed due to the inability to get UiPath.CLI(.Windows) running anywhere. I’ve tried both Windows and Linux-based runners, as well as my own PC, and I cannot install the UiPath.CLI(.Windows) package anywhere. To clarify, I’m trying to run UiPath.CLI on the Linux machine(s) and UiPath.CLI.Windows on the Windows boxes.
I’ve tried:
My PC:
OS Name: Microsoft Windows 11 Enterprise
OS Version: 10.0.22631 N/A Build 22631
GitLab/SAAS Windows Server:
OS Name: Microsoft Windows Server 2022 Datacenter
OS Version: 10.0.20348 N/A Build 20348
GitLab/SAAS Linux Server:
$ uname -a
Linux runner-xxurkrix-project-65348542-concurrent-0 5.15.154+ #1 SMP Sat May 4 12:14:42 UTC 2024 x86_64 GNU/Linux
In every case I get to the point of installing UiPath.CLI.Windows and it fails with the error:
dotnet tool install --global UiPath.CLI.Windows
Tool 'uipath.cli.windows' failed to update due to the following:
The settings file in the tool's NuGet package is invalid: Settings file 'DotnetToolSettings.xml' was not found in the package.
Tool 'uipath.cli.windows' failed to install. Contact the tool author for assistance.
The same error appears on Linux, without the “.Windows”, of course.
I’ve researched this error, and it generally means there’s a mismatch between OS versions that the package will support vs. what the current compilation environment. However, I’ve tried the supported version(s) of the tool on the machines that I’m using, and I still get this error every time.
I need to be able to build these projects. We were able to do this under older versions of Windows, before we moved to the cloud Orchestrator. I have over a thousand UiPath projects; I can’t publish them all by hand, nor is that acceptable in our process, where we are required to have an approval step before deployment to Prod.
I could conceivably move to a self-hosted build runner (machine) that I could configure exactly as I need, but at this point I’m not convinced I can get UiPath.CLI to work anywhere.
Any help would be greatly appreciated.
– Sam