From ddcb844bcc70e7eb8a2166862144c41fc17a88d6 Mon Sep 17 00:00:00 2001 From: Ralph Sennhauser Date: Sat, 5 Jul 2025 20:28:48 +0200 Subject: [PATCH] Redirect stderr into build.log in Windows pipeline The build.log is created and found, but no warnings are collected. Redirect stderr so the warnings end up in the log in the first place. Fixes: #8159 Signed-off-by: Ralph Sennhauser --- build/jenkins/pipelines/windows.Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/jenkins/pipelines/windows.Jenkinsfile b/build/jenkins/pipelines/windows.Jenkinsfile index 819d4391ea..8fbed18293 100644 --- a/build/jenkins/pipelines/windows.Jenkinsfile +++ b/build/jenkins/pipelines/windows.Jenkinsfile @@ -108,7 +108,7 @@ pipeline { steps { powershell """ cd build\\workspaces\\vs2017 - & \"${visualStudioPath}\" pyrogenesis.sln /p:Configuration=${BUILD_TYPE} ${buildOptions} \$env:JOBS | Tee-Object -FilePath ${BUILD_TYPE}-build.log + & \"${visualStudioPath}\" pyrogenesis.sln /p:Configuration=${BUILD_TYPE} ${buildOptions} \$env:JOBS 2>&1 | Tee-Object -FilePath ${BUILD_TYPE}-build.log """ } post {