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

22 lines
732 B
Groovy

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