From e5f9cceb91993d59cead3b4f73bbd9774e0aa7d1 Mon Sep 17 00:00:00 2001 From: Harrison Deng Date: Fri, 15 Nov 2024 03:01:17 +0000 Subject: [PATCH] Fixed issues with CI pipeline --- Jenkinsfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index ecc31dd..c10ffd8 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -12,13 +12,13 @@ agent { stages { stage("Install") { steps { - sh 'brew install dotnet@8 node' + sh 'brew install dotnet@8 node zip' sh 'npm install --prefix ./Props' } } stage("Test Props.Shop") { steps { - sh returnStatus: true, script: 'dotnet test --logger xunit --no-restore Props.Shop/**/*.Tests.csproj' + sh returnStatus: true, script: 'dotnet test --logger xunit Props.Shop/**/*.Tests.csproj' xunit([xUnitDotNet(excludesPattern: '', pattern: 'Props.Shop/*.Tests/TestResults/*.xml', stopProcessingIfError: true)]) } } @@ -37,7 +37,7 @@ agent { } stage("Test Props") { steps { - sh returnStatus: true, script: 'dotnet test --logger xunit --no-restore Props.Tests/Props.Tests.csproj' + sh returnStatus: true, script: 'dotnet test --logger xunit Props.Tests/Props.Tests.csproj' xunit([xUnitDotNet(excludesPattern: '', pattern: 'Props.Tests/TestResults/*.xml', stopProcessingIfError: true)]) } }