Updated pipeline and formatted code
All checks were successful
ydeng/modvcfsamples/pipeline/head This commit looks good

Pipeline now looks for correct unit test file
This commit is contained in:
2023-06-27 14:15:03 +00:00
parent 58adf3efe8
commit 8cd09bfb41
3 changed files with 24 additions and 8 deletions

2
Jenkinsfile vendored
View File

@@ -9,7 +9,7 @@ pipeline {
}
stage("unit tests") {
steps {
sh returnStatus: true, script: "python -m pytest --junitxml=unit_tests.xml --cov-report xml:test_coverage.xml --cov=modvcfsamples"
sh returnStatus: true, script: "python -m pytest --junitxml=test_results.xml --cov-report xml:test_coverage.xml --cov=modvcfsamples"
xunit checksName: '', tools: [JUnit(excludesPattern: '', pattern: 'test_results.xml', stopProcessingIfError: true)]
cobertura autoUpdateHealth: false, autoUpdateStability: false, coberturaReportFile: 'test_coverage.xml', failUnhealthy: false, failUnstable: false, maxNumberOfBuilds: 64, lineCoverageTargets: '50, 0, 0', methodCoverageTargets: '50, 0, 0', onlyStable: false, sourceEncoding: 'ASCII', zoomCoverageChart: false
}