Changeset View
Changeset View
Standalone View
Standalone View
jobs/templates/includes/stage-python-tests.groovy.j2
Show All 14 Lines | always { | ||||
fingerprint: true, | fingerprint: true, | ||||
) | ) | ||||
publishCoverage( | publishCoverage( | ||||
adapters: [ | adapters: [ | ||||
coberturaAdapter(path: 'coverage.xml'), | coberturaAdapter(path: 'coverage.xml'), | ||||
], | ], | ||||
tag: 'pytest', | tag: 'pytest', | ||||
sourceFileResolver: sourceFiles('STORE_LAST_BUILD'), | |||||
) | ) | ||||
// JUnit report | // JUnit report | ||||
junit( | junit( | ||||
allowEmptyResults: true, | allowEmptyResults: true, | ||||
testResults: 'test-results.xml', | testResults: 'test-results.xml', | ||||
) | ) | ||||
} | } | ||||
} // post | } // post | ||||
} // unit tests | } // unit tests |