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
Harrison Deng a7da520faf
Some checks failed
ydeng/gameservicewarden/pipeline/head There was a failure building this commit
Added logging dependencies.
2024-07-20 15:15:08 +00:00

25 lines
768 B
Groovy

pipeline {
agent {
kubernetes {
cloud 'Reslate Systems'
defaultContainer 'conda'
}
}
stages {
stage ("Install") {
steps {
sh "conda update conda -y -q"
sh "conda env update -n base --file environment.yml -q"
sh "conda run -n base dotnet restore gameservicewarden.sln"
}
}
stage ("Test") {
steps {
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)])
}
}
}
}