Added logging dependencies.
Some checks failed
ydeng/gameservicewarden/pipeline/head There was a failure building this commit

This commit is contained in:
2024-07-20 15:15:08 +00:00
parent 025999ab59
commit a7da520faf
4 changed files with 13 additions and 3 deletions

4
Jenkinsfile vendored
View File

@@ -9,13 +9,13 @@ pipeline {
stage ("Install") {
steps {
sh "conda update conda -y -q"
sh "conda env update -n base --file environment.yml"
sh "conda env update -n base --file environment.yml -q"
sh "conda run -n base dotnet restore gameservicewarden.sln"
}
}
stage ("Test") {
steps {
sh "conda run -n base dotnet test --logger xunit --no-restore GameServiceWarden.Tests"
sh returnStatus: true, script: 'conda run -n base dotnet test --logger xunit --no-restore gameservicewarden.sln'
xunit([xUnitDotNet(excludesPattern: '', pattern: 'GameServiceWarden.Tests/*.Tests/TestResults/*.xml', stopProcessingIfError: true)])
}
}