From d259c9c5767e539a6960664249c9467b038dae10 Mon Sep 17 00:00:00 2001 From: Tobias Gruetzmacher Date: Sun, 14 Jul 2019 22:26:46 +0200 Subject: [PATCH] Jenkins: Add STDERR to console workaround I'm not even sure why this is a problem. Whenever STDOUT or STDERR aren't redirected, the Python process fails with Fatal Python error: init_sys_streams: can't initialize sys standard streams OSError: [WinError 6] Invalid handle --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index c72503bf9..938a27f3e 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -110,7 +110,7 @@ def windowsBuildCommands() { wine py -m pip install -e .[css] && cd scripts && wine py -m PyInstaller -y dosage.spec; - wineserver -w" | tee log.txt + wineserver -w" 2>&1 | tee log.txt ''' archiveArtifacts '*/scripts/dist/*' }