Jenkins powershell plugin is running 32 bit Powershell and I need 64bit

前端 未结 4 1011
花落未央
花落未央 2020-12-03 18:56

I\'m pretty new to powershell integration in Jenkins and my scripts won\'t run because (I believe) I need powershell to be executed in 64 bit. Running:

[Env         


        
4条回答
  •  醉话见心
    2020-12-03 19:04

    further suggestions:

    1. check path of 32bit-JRE, remove path or uninstall 32bit-JRE -- also swapping path-position with 64bit-JRE might work
    2. check path(s) of PowerShell, remove path of 32bit PowerShell (..\SysWOW64\..) and add the other one to the path (..\System32\..)

    This worked for me!

提交回复
热议问题