1
0
Fork 0
mirror of https://github.com/Ellpeck/MLEM.git synced 2024-05-13 20:58:45 +02:00

always publish test results to jenkins

This commit is contained in:
Ell 2021-03-20 21:37:43 +01:00
parent 23b27cf877
commit a477fef230

12
Jenkinsfile vendored
View file

@ -7,12 +7,6 @@ pipeline {
sh 'dotnet dotnet-cake --Target=Publish --Branch=' + env.BRANCH_NAME
}
}
stage('Publish Test Results') {
steps {
nunit testResultsPattern: '**/TestResults.xml'
cobertura coberturaReportFile: '**/coverage.cobertura.xml'
}
}
stage('Document') {
when {
branch 'release'
@ -23,6 +17,12 @@ pipeline {
}
}
}
post {
always {
nunit testResultsPattern: '**/TestResults.xml'
cobertura coberturaReportFile: '**/coverage.cobertura.xml'
}
}
environment {
BAGET = credentials('3db850d0-e6b5-43d5-b607-d180f4eab676')
NUGET = credentials('e1bf7f6c-6047-4f7e-b639-15240a8f8351')