Index: build/jenkins/pipelines/vs2015-differential.Jenkinsfile =================================================================== --- build/jenkins/pipelines/vs2015-differential.Jenkinsfile +++ build/jenkins/pipelines/vs2015-differential.Jenkinsfile @@ -1,4 +1,4 @@ -/* Copyright (C) 2019 Wildfire Games. +/* Copyright (C) 2020 Wildfire Games. * This file is part of 0 A.D. * * 0 A.D. is free software: you can redistribute it and/or modify @@ -72,7 +72,26 @@ bat("cd build\\workspaces\\vc2015 && MSBuild.exe pyrogenesis.sln /m:${jobs} /p:PlatformToolset=v140_xp /t:pyrogenesis /t:AtlasUI /t:test /p:Configuration=Debug -clp:Warningsonly -clp:ErrorsOnly ") } } - // Debug tests do not work on Windows, see #3753. + stage ('Debug: Test') { + options { + timeout(time: 30) + } + steps { + catchError { // Debug tests might not work on Windows, see #3753. uncomment just below if they do work. + bat 'binaries\\system\\test_dbg.exe > cxxtest_debug.xml' + } + } + post { + //failure { + success { catchError { + echo (message: readFile (file: "cxxtest_debug.xml")) + } + } + /*always { + junit "cxxtest_debug.xml" + }*/ + } + } stage ('Release: Build') { steps { bat("cd build\\workspaces\\vc2015 && MSBuild.exe pyrogenesis.sln /m:${jobs} /p:PlatformToolset=v140_xp /t:pyrogenesis /t:AtlasUI /t:test /p:Configuration=Release -clp:Warningsonly -clp:ErrorsOnly ") @@ -97,7 +116,8 @@ } post { always { - step([$class: 'PhabricatorNotifier', commentOnSuccess: true, commentWithConsoleLinkOnFailure: true]) + // TODO: It would be necessary to post build warnings as comments, see Linux/macOS in D2931. + step([$class: 'PhabricatorNotifier', commentWithConsoleLinkOnFailure: true]) bat 'del cxxtest_*.xml' bat 'svn revert -R .' bat 'powershell.exe "svn st binaries/data | %% {$_.substring(8)} | del -r " '