mirror of
https://github.com/Ellpeck/MLEM.git
synced 2024-11-22 20:58:34 +01:00
always publish test results to jenkins
This commit is contained in:
parent
23b27cf877
commit
a477fef230
1 changed files with 6 additions and 6 deletions
12
Jenkinsfile
vendored
12
Jenkinsfile
vendored
|
@ -7,12 +7,6 @@ pipeline {
|
||||||
sh 'dotnet dotnet-cake --Target=Publish --Branch=' + env.BRANCH_NAME
|
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') {
|
stage('Document') {
|
||||||
when {
|
when {
|
||||||
branch 'release'
|
branch 'release'
|
||||||
|
@ -23,6 +17,12 @@ pipeline {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
post {
|
||||||
|
always {
|
||||||
|
nunit testResultsPattern: '**/TestResults.xml'
|
||||||
|
cobertura coberturaReportFile: '**/coverage.cobertura.xml'
|
||||||
|
}
|
||||||
|
}
|
||||||
environment {
|
environment {
|
||||||
BAGET = credentials('3db850d0-e6b5-43d5-b607-d180f4eab676')
|
BAGET = credentials('3db850d0-e6b5-43d5-b607-d180f4eab676')
|
||||||
NUGET = credentials('e1bf7f6c-6047-4f7e-b639-15240a8f8351')
|
NUGET = credentials('e1bf7f6c-6047-4f7e-b639-15240a8f8351')
|
||||||
|
|
Loading…
Reference in a new issue