Jenkinsfile: publish coverage

This commit is contained in:
pavelbannov 2020-01-08 12:44:53 +03:00
parent 10e65286bd
commit 21d6753a69

18
build/Jenkinsfile vendored
View File

@ -36,11 +36,19 @@ pipeline {
steps { steps {
sh "cd ${env.WORKSPACE}/web/ASC.Web.Components && yarn test:coverage --ci --reporters=default --reporters=jest-junit || true" sh "cd ${env.WORKSPACE}/web/ASC.Web.Components && yarn test:coverage --ci --reporters=default --reporters=jest-junit || true"
} }
post {
success {
junit 'web/ASC.Web.Components/junit.xml'
publishHTML target: [
allowMissing : false,
alwaysLinkToLastBuild: false,
keepAll : true,
reportDir : 'web/ASC.Web.Components/output/coverage/lcov-report',
reportFiles : 'index.html',
reportName : 'Test Report'
]
}
}
} }
} }
post {
success {
junit 'web/ASC.Web.Components/junit.xml'
}
}
} }