Fixed issues with CI pipeline
All checks were successful
props/pipeline/head This commit looks good

This commit is contained in:
Harrison Deng 2024-11-15 03:01:17 +00:00
parent b9007e2403
commit e5f9cceb91

6
Jenkinsfile vendored
View File

@ -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)])
}
}