-
Bug
-
Resolution: Fixed
-
Major
I installed the PowerShell plugin and PowerShell Core on Linux.
When I run a Windows PowerShell step it gets an error.
I believe all that has to be adjusted is to alter the command line to remove the windows stuff:
Instead of:
powershell.exe -NonInteractive -ExecutionPolicy ByPass "& '/tmp/jenkins5628735582018675439.ps1'"
Do:
powershell -file '/tmp/jenkins5628735582018675439.ps1'
I noticed there is mention of PowerShell for Linux support in the github repo - but if it is currently active, I can't figure out how to make it work.
I should mention that I was able to run powershell with the regular shell plug-in - so I know it is on the path.
powershell -command "write-host 'testing psh core'"
- is related to
-
JENKINS-49113 PowerShell Core not showing objects
- Resolved