I don't Windows admin much, but did you make sure Jenkins is running under
the user you've granted perms? Also, did you restart Jenkins so that that
new permissions apply?
My 2 cents
2016-09-15 13:14 GMT+02:00 Jan-Olav Eide :
> I have a powershell script I want to execute
I have a powershell script I want to execute in a pipeline step.
I thus call :
bat 'powershell \\tmp\\test.ps1'
prior to this I have set the ExecutionPolicy to Unrestricted as admin.
Still, when the pipeline runs, I get this
*13:07:13* C:\Program Files (x86)\Jenkins\workspace\Merchant