Jenkins: Use modern coverage api
This commit is contained in:
parent
233328d495
commit
32ee66f7f4
1 changed files with 6 additions and 8 deletions
14
Jenkinsfile
vendored
14
Jenkinsfile
vendored
|
@ -53,14 +53,12 @@ pys.each { py ->
|
||||||
def buildVer = findFiles(glob: 'dist/*.tar.gz')[0].name.replaceFirst(/\.tar\.gz$/, '')
|
def buildVer = findFiles(glob: 'dist/*.tar.gz')[0].name.replaceFirst(/\.tar\.gz$/, '')
|
||||||
currentBuild.description = buildVer
|
currentBuild.description = buildVer
|
||||||
|
|
||||||
cobertura autoUpdateHealth: false,
|
publishCoverage calculateDiffForChangeRequests: true,
|
||||||
autoUpdateStability: false,
|
sourceFileResolver: sourceFiles('STORE_LAST_BUILD'),
|
||||||
coberturaReportFile: '.tox/cov-*.xml',
|
adapters: [
|
||||||
failUnhealthy: false,
|
coberturaAdapter('.tox/cov-*.xml')
|
||||||
failUnstable: false,
|
]
|
||||||
maxNumberOfBuilds: 0,
|
|
||||||
onlyStable: false,
|
|
||||||
zoomCoverageChart: false
|
|
||||||
recordIssues sourceCodeEncoding: 'UTF-8',
|
recordIssues sourceCodeEncoding: 'UTF-8',
|
||||||
tool: flake8(pattern: '.tox/flake8.log', reportEncoding: 'UTF-8')
|
tool: flake8(pattern: '.tox/flake8.log', reportEncoding: 'UTF-8')
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue