From e83d19b6996b3efbe6a927a3814619e3adc0522c Mon Sep 17 00:00:00 2001 From: Harrison Deng Date: Mon, 25 Apr 2022 12:37:17 -0500 Subject: [PATCH] Removed explicit restore in "Props" stage in pipeline. --- Jenkinsfile | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index a032fb8..42aeb6b 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -31,15 +31,9 @@ pipeline { } stage("Props") { stages { - stage("Restore") { - steps { - dotnetRestore project: "Props" - dotnetRestore project: "Props.Tests" - } - } stage("Test") { 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)]) } }