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