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
This commit is contained in:
Tobias Gruetzmacher 2019-07-14 22:26:46 +02:00
parent 73cac9a4b2
commit d259c9c576

2
Jenkinsfile vendored
View file

@ -110,7 +110,7 @@ def windowsBuildCommands() {
wine py -m pip install -e .[css] && wine py -m pip install -e .[css] &&
cd scripts && cd scripts &&
wine py -m PyInstaller -y dosage.spec; wine py -m PyInstaller -y dosage.spec;
wineserver -w" | tee log.txt wineserver -w" 2>&1 | tee log.txt
''' '''
archiveArtifacts '*/scripts/dist/*' archiveArtifacts '*/scripts/dist/*'
} }