Updated Jenkinsfile.
This commit is contained in:
parent
a1401c63e9
commit
4cf1ff53a9
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -2,15 +2,19 @@ pipeline {
|
||||
agent any
|
||||
stages {
|
||||
stage ("Install") {
|
||||
steps {
|
||||
sh "mamba env update --file environment.yml"
|
||||
sh "echo 'mamba activate props' >> ~/.bashrc"
|
||||
sh "dotnet restore GameServiceWarden"
|
||||
sh "dotnet restore GameServiceWarden.Tests"
|
||||
}
|
||||
}
|
||||
stage ("Test") {
|
||||
steps {
|
||||
sh "sh 'dotnet test --logger xunit --no-restore GameServiceWarden.Tests"
|
||||
xunit([xUnitDotNet(excludesPattern: '', pattern: 'GameServiceWarden.Tests/*.Tests/TestResults/*.xml', stopProcessingIfError: true)])
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user