mirror of
https://github.com/Ellpeck/Coroutine.git
synced 2024-11-21 21:33:29 +01:00
always archive test results
This commit is contained in:
parent
10590841d2
commit
4280ea2db4
1 changed files with 6 additions and 3 deletions
9
Jenkinsfile
vendored
9
Jenkinsfile
vendored
|
@ -4,8 +4,6 @@ pipeline {
|
|||
stage('Test') {
|
||||
steps {
|
||||
sh 'dotnet test --collect:"XPlat Code Coverage"'
|
||||
nunit testResultsPattern: '**/TestResults.xml'
|
||||
cobertura coberturaReportFile: '**/coverage.cobertura.xml'
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -24,7 +22,12 @@ pipeline {
|
|||
sh 'dotnet nuget push -s http://localhost:5000/v3/index.json **/*.nupkg -k $BAGET -n true'
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
post {
|
||||
always {
|
||||
nunit testResultsPattern: '**/TestResults.xml'
|
||||
cobertura coberturaReportFile: '**/coverage.cobertura.xml'
|
||||
}
|
||||
}
|
||||
environment {
|
||||
BAGET = credentials('3db850d0-e6b5-43d5-b607-d180f4eab676')
|
||||
|
|
Loading…
Reference in a new issue