Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to override default UIPath version with latest 3.0 plugin #150

Open
amit-kushwaha-std-ep opened this issue Mar 24, 2023 · 0 comments

Comments

@amit-kushwaha-std-ep
Copy link

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant