Re: Executiing powershell script in Jenkins 2.0 pipeline not allowed.

2016-09-19 Thread Baptiste Mathus
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

Executiing powershell script in Jenkins 2.0 pipeline not allowed.

2016-09-15 Thread Jan-Olav Eide
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