私はJenkinsでspecflowテストを実行していますが、テストが保留中/無視/不確定になるたびに、テストスイート全体が失敗します(Red Jenkinsビルドのように)。どうすればそれを解消し、ジェンキンスのビルドをグリーンにすることができますか?
注:-ジェンキンスでCmdlineでテストを実行しており、以下のとおりです。
@pushd %~dp0
%windir%\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe "******".Tests.csproj"
@if ERRORLEVEL 1 goto end
@cd ..\packages\SpecRun.Runner.*\tools
@set profile=%1
@if "%profile%" == "" set profile=Default
SpecRun.exe run %profile%.srprofile "/baseFolder:%~dp0\bin\Debug" /log:specrun.log /filter:%2 /report:TestResults\%3
:end
@popd
エラーレベルと関係がありますか?
どんな助けでも大歓迎です。