Jenkins: Update to warnings-ng
This commit is contained in:
parent
2eb789b35d
commit
131d530d1a
2 changed files with 4 additions and 2 deletions
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
|
@ -59,7 +59,8 @@ pys.each { py ->
|
||||||
maxNumberOfBuilds: 0,
|
maxNumberOfBuilds: 0,
|
||||||
onlyStable: false,
|
onlyStable: false,
|
||||||
zoomCoverageChart: false
|
zoomCoverageChart: false
|
||||||
warnings consoleParsers: [[parserName: 'flake8']]
|
recordIssues sourceCodeEncoding: 'UTF-8',
|
||||||
|
tool: flake8(pattern: '.tox/flake8.log', reportEncoding: 'UTF-8')
|
||||||
}
|
}
|
||||||
junit '.tox/junit-*.xml'
|
junit '.tox/junit-*.xml'
|
||||||
}
|
}
|
||||||
|
|
3
tox.ini
3
tox.ini
|
@ -25,7 +25,8 @@ extras =
|
||||||
|
|
||||||
[testenv:flake8]
|
[testenv:flake8]
|
||||||
commands =
|
commands =
|
||||||
- {envbindir}/flake8
|
- {envbindir}/flake8 --format=pylint \
|
||||||
|
--tee --output-file={toxworkdir}/flake8.log
|
||||||
deps =
|
deps =
|
||||||
flake8
|
flake8
|
||||||
flake8-coding
|
flake8-coding
|
||||||
|
|
Loading…
Reference in a new issue