This commit is contained in:
parent
b9007e2403
commit
e5f9cceb91
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@ -12,13 +12,13 @@ agent {
|
|||||||
stages {
|
stages {
|
||||||
stage("Install") {
|
stage("Install") {
|
||||||
steps {
|
steps {
|
||||||
sh 'brew install dotnet@8 node'
|
sh 'brew install dotnet@8 node zip'
|
||||||
sh 'npm install --prefix ./Props'
|
sh 'npm install --prefix ./Props'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage("Test Props.Shop") {
|
stage("Test Props.Shop") {
|
||||||
steps {
|
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)])
|
xunit([xUnitDotNet(excludesPattern: '', pattern: 'Props.Shop/*.Tests/TestResults/*.xml', stopProcessingIfError: true)])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -37,7 +37,7 @@ agent {
|
|||||||
}
|
}
|
||||||
stage("Test Props") {
|
stage("Test Props") {
|
||||||
steps {
|
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)])
|
xunit([xUnitDotNet(excludesPattern: '', pattern: 'Props.Tests/TestResults/*.xml', stopProcessingIfError: true)])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user