I am running docker on a Debian 9 machine, and a Jenkins container in it. I installed the PowerShell plugin in Jenkins and I am trying to run a PowerShell script, but I get a message saying that it can't find Powershell.exe (duh!)
I don't want to run docker on Windows. Is there a way to make PowerShell work on a Jenkins container running on a Linux machine?
Caused:
java.io.IOException: Cannot run program "powershell.exe" (in directory "/var/jenkins_home/workspace/Revert Plugin"): error=2, No such file or directory