From 393ad6c8a6b90945baf4a70634b2ef80590b8826 Mon Sep 17 00:00:00 2001 From: Stan Date: Fri, 23 Aug 2024 13:08:04 +0200 Subject: [PATCH] Improve windows pipeline --- build/jenkins/pipelines/windows.Jenkinsfile | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/build/jenkins/pipelines/windows.Jenkinsfile b/build/jenkins/pipelines/windows.Jenkinsfile index db0424c012..5fb447f6a4 100644 --- a/build/jenkins/pipelines/windows.Jenkinsfile +++ b/build/jenkins/pipelines/windows.Jenkinsfile @@ -43,11 +43,23 @@ pipeline { } } + stage("Debug Build") { + steps { + bat("cd build\\workspaces\\vs2017 && ${visualStudioPath} pyrogenesis.sln /p:Configuration=Debug ${buildOptions}") + timeout(time: 15) { + bat "cd binaries\\system && test_dbg.exe > cxxtest-debug.xml" + } + } + post { + always { + junit 'binaries/system/cxxtest-debug.xml' + } + } + } + stage ("Release Build") { steps { - dir('build\\workspaces\\vs2017'){ - bat("${visualStudioPath} pyrogenesis.sln /p:Configuration=Release ${buildOptions}") - } + bat("cd build\\workspaces\\vs2017 && ${visualStudioPath} pyrogenesis.sln /p:Configuration=Release ${buildOptions}") timeout(time: 5) { bat "cd binaries\\system && test.exe > cxxtest-release.xml" }