Failed to open pipe file in Jenkins client

Hello,
in my local machine (win10 21H2), I can successfully run this file ‘python recording_test.py’ said in https://github.com/audacity/audacity/blob/master/scripts/piped-work/recording_test.py.

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

Could anyone help check or met this same issue?

Thanks,
Frank

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 https://plugins.jenkins.io/python/ 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.