Test failures now cause test to be unstable.
This commit is contained in:
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@@ -11,7 +11,7 @@ pipeline {
|
|||||||
}
|
}
|
||||||
stage("Test") {
|
stage("Test") {
|
||||||
steps {
|
steps {
|
||||||
dotnetTest project: "Props.Shop/Props.Shop.Tests.sln"
|
dotnetTest project: "Props.Shop/Props.Shop.Tests.sln" unstableIfErrors: true, unstableIfWarnings: true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage("Publish") {
|
stage("Publish") {
|
||||||
@@ -36,7 +36,7 @@ pipeline {
|
|||||||
}
|
}
|
||||||
stage("Test") {
|
stage("Test") {
|
||||||
steps {
|
steps {
|
||||||
dotnetTest project: "Props.Tests"
|
dotnetTest project: "Props.Tests" unstableIfErrors: true, unstableIfWarnings: true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage("Publish") {
|
stage("Publish") {
|
||||||
|
Reference in New Issue
Block a user