Removed explicit restore in "Props" stage in pipeline.

This commit is contained in:
Harrison Deng 2022-04-25 12:37:17 -05:00
parent 8801bea801
commit e83d19b699

8
Jenkinsfile vendored
View File

@ -31,15 +31,9 @@ pipeline {
} }
stage("Props") { stage("Props") {
stages { stages {
stage("Restore") {
steps {
dotnetRestore project: "Props"
dotnetRestore project: "Props.Tests"
}
}
stage("Test") { stage("Test") {
steps { steps {
dotnetTest logger: 'xunit', noRestore: true, project: 'Props.Tests', unstableIfErrors: true, unstableIfWarnings: true dotnetTest logger: 'xunit', project: 'Props.Tests', unstableIfErrors: true, unstableIfWarnings: true
xunit([xUnitDotNet(excludesPattern: '', pattern: 'Props.Tests/TestResults/*.xml', stopProcessingIfError: true)]) xunit([xUnitDotNet(excludesPattern: '', pattern: 'Props.Tests/TestResults/*.xml', stopProcessingIfError: true)])
} }
} }