Added step to pull latest submodules.
This commit is contained in:
parent
3506020d9b
commit
b23ece8c8c
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
@ -5,13 +5,14 @@ pipeline {
|
||||
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 "sh 'dotnet test --logger xunit --no-restore GameServiceWarden.Tests"
|
||||
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