Jenkins(Linux) UiPath plugin ...cannot find Powershell.exe

Trying to setup up a CI/CD pipeline in Jenkins(running on Linux) for UiPath build/deploy.

Installed UiPath and Powershell plugins in Jenkins.

But, UiPath Pack cannot run Powershell.exe.

Has anyone got the UiPath/Powershell plugin to work on Jenkins hosted on Linux?

Thanks for your help.

log extract below…

[Pipeline] step
expected plugin jar path is : /var/lib/jenkins/plugins/uipath-automation-package/WEB-INF/lib/uipath-automation-package.jar
extracting powershell modules to temp folder
extracted powershell modules to temp folder
[workspace] $ powershell.exe -NonInteractive -ExecutionPolicy ByPass “& ‘/tmp/jenkins6106868726416481674.ps1’”
[Pipeline] }
[Pipeline] End of Pipeline error=2, No such file or directory
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.(
at java.lang.ProcessImpl.start(
at java.lang.ProcessBuilder.start(
Caused: Cannot run program “powershell.exe” (in directory “/var/lib/jenkins/jobs/Project/workspace”): error=2, No such file or directory
at java.lang.ProcessBuilder.start(
at hudson.Proc$LocalProc.(
at hudson.Proc$LocalProc.(
at hudson.Launcher$LocalLauncher.launch(
at hudson.Launcher$ProcStarter.start(
at com.uipath.uipathpackage.Utility.execute(
at com.uipath.uipathpackage.UiPathPack.perform(
at org.jenkinsci.plugins.workflow.steps.CoreStep$
at org.jenkinsci.plugins.workflow.steps.CoreStep$
at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(
at java.util.concurrent.Executors$
at java.util.concurrent.ThreadPoolExecutor.runWorker(
at java.util.concurrent.ThreadPoolExecutor$
Finished: FAILURE


Any results ? does that mean this plugin can run only in windows node ?

Is any update on above how to publish package to Jenkins using uipath plugin

Hi you need a windows slave on top of the linux . With that , you will be able to use uipath plugin to publish the package