py-winrm-plugin icon indicating copy to clipboard operation
py-winrm-plugin copied to clipboard

plugin fails to copy script file

Open ondrejbaranek opened this issue 7 years ago • 3 comments

Plugin should copy script file to location C:\WINDOWS\TEMP\7591-6854-hostname001-masterless-windows.ps1 When I check that location, file copier created folder C:\WINDOWS\TEMP\7591-6854-hostname001- and script masterless-windows.ps1 in that folder. It is Windows 2016 and using NTLM auth.

ondrejbaranek avatar Dec 12 '18 14:12 ondrejbaranek

Hi @ondrejbaranek ,

Can you share your node definition and your job?

For me, it looks OK

screenshot 2018-12-27 11 39 22

ltamaster avatar Dec 27 '18 14:12 ltamaster

I was having the same exact issue and was able to resolve with a couple modifications to the winrm-filecopier script. Details are in pull request #18

tylersoren avatar Jan 02 '19 21:01 tylersoren

We were having the same issue, it seems to appear only when using script file from URL. Inline script is ok. Pull request #18 fixes it.

mrmantas avatar Feb 07 '19 13:02 mrmantas