Sunday, 15 September 2013

powershell - Jenkins build fails when executing shell -



powershell - Jenkins build fails when executing shell -

i trying run powershell script called filemove.ps1 through jenkins. have set path file in execute shell section this

powershell.exe -file "\build\automateddelivery\filemove\filemove.ps1"

which location of file on network. need phone call in order create run? of now, getting failed build error,

"line 2: powershell.exe command not found build step 'execute shell' marked build failure"

any help appreciated.

if build name of server, need double backslash \\ before it. if not, need set server\share

shell powershell jenkins

No comments:

Post a Comment