Failed to open pipe file in Jenkins client

in my local machine (win10 21H2), I can successfully run this file ‘python’ said in

but if I run it thru Jenkins Client, I met the following error.
Traceback (most recent call last):
File “”, line 84, in
OSError: [Errno 22] Invalid argument: ‘\\.\pipe\ToSrvPipe’

Could anyone help check or met this same issue?


It looks like Jenkins does not support named pipes via Python.

I’ve never used Jenkins, so I’ve no idea how to fix that, or even if it’s possible to fix it. If this is the Jenkins Python plug-in that you are using I can see that it is designed for CI rather than as a full featured Python implementation - in other words, what you are trying to use it for is not what it was designed for.

I doubt that anyone here has experience with Jenkins. Maybe worth asking on the Jenkins forum.