This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
gameservicewarden/Jenkinsfile

25 lines
739 B
Plaintext
Raw Normal View History

pipeline {
2024-07-20 15:03:57 +00:00
agent {
kubernetes {
cloud 'Reslate Systems'
defaultContainer 'conda'
}
}
stages {
stage ("Install") {
2022-12-01 17:54:08 +00:00
steps {
2024-07-20 15:03:57 +00:00
sh "conda update conda -y -q"
sh "conda env update -n base --file environment.yml"
sh "conda run -n base dotnet restore gameservicewarden.sln"
2022-12-01 17:54:08 +00:00
}
}
stage ("Test") {
2022-12-01 17:54:08 +00:00
steps {
2024-07-20 15:03:57 +00:00
sh "conda run -n base dotnet test --logger xunit --no-restore GameServiceWarden.Tests"
2022-12-01 17:54:08 +00:00
xunit([xUnitDotNet(excludesPattern: '', pattern: 'GameServiceWarden.Tests/*.Tests/TestResults/*.xml', stopProcessingIfError: true)])
}
}
}
}