-
Notifications
You must be signed in to change notification settings - Fork 30
Description
What Operating System are you using (both controller, and any agents involved in the problem)?
Windows 7
Reproduction steps
Try Running UiPathPack
UiPathInstallPlatform (
cliVersion: "WIN_22.10.8438.32859",
traceLevel: "Information"
)
UiPathPack (
outputPath: "$workDir\\target\\publish",
projectJsonPath: "$workDir\\src\\project.json",
version: [$class: 'CurrentVersionEntry'],
useOrchestrator: false,
traceLevel: 'Verbose'
)
Expected Results
It should use WIN_22.10.8438.32859
Actual Results
The package(s) were build with default 21.10 version see below logs
[Pipeline] UiPathInstallPlatform
cli is not found in cache..
Downloading CLI from https://uipath.pkgs.visualstudio.com/Public.Feeds/_packaging/UiPath-Official/nuget/v3/flat2/UiPath.CLI.Windows/22.10.8438.32859/UiPath.CLI.Windows.22.10.8438.32859.nupkg
Downloaded CLI successfully. @C:\Jenkins\workspace\Dev<app_name>\CLI\downloads\UiPath.CLI.Windows\22.10.8438.32859
(caching) extracting the downloaded cli... done!!
[Pipeline] UiPathPack
Using previously extracted UiPath CLI from ${WORKSPACE}/CLI/cached/UiPath.CLI.Windows/21.10.8319.10920/cli-21.10.8319.10920/lib/net461/uipcli.exe
[net461] $ dotnet ${WORKSPACE}/CLI/cached/UiPath.CLI.Windows/21.10.8319.10920/cli-21.10.8319.10920/lib/net461/uipcli.exe run C:\Jenkins\workspace\dev<app_name>\work@tmp\uipcliargs1866583593539829778
Could not execute because the specified command or file was not found.
Possible reasons for this include:
- You misspelled a built-in dotnet command.
- You intended to execute a .NET Core program, but dotnet-${WORKSPACE}/CLI/cached/UiPath.CLI.Windows/21.10.8319.10920/cli-21.10.8319.10920/lib/net461/uipcli.exe does not exist.
- You intended to run a global tool, but a dotnet-prefixed executable with this name could not be found on the PATH.