Updated to .NET 7.0 and added Jenkinsfile.

This commit is contained in:
2022-12-01 17:51:54 +00:00
parent 0073efc9ac
commit a1401c63e9
58 changed files with 79 additions and 7 deletions

16
Jenkinsfile vendored Normal file
View File

@@ -0,0 +1,16 @@
pipeline {
agent any
stages {
stage ("Install") {
sh "mamba env update --file environment.yml"
sh "echo 'mamba activate props' >> ~/.bashrc"
sh "dotnet restore GameServiceWarden"
sh "dotnet restore GameServiceWarden.Tests"
}
stage ("Test") {
sh "sh 'dotnet test --logger xunit --no-restore GameServiceWarden.Tests"
xunit([xUnitDotNet(excludesPattern: '', pattern: 'GameServiceWarden.Tests/*.Tests/TestResults/*.xml', stopProcessingIfError: true)])
}
}
}