static code metrix1
This commit is contained in:
parent
1f9d71d611
commit
f02e600d82
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
|
@ -125,8 +125,7 @@ pipeline {
|
||||||
stage('Static code metrics') {
|
stage('Static code metrics') {
|
||||||
steps {
|
steps {
|
||||||
echo "Raw metrics"
|
echo "Raw metrics"
|
||||||
sh ''' source activate ${BUILD_TAG}
|
sh ''' radon raw --json src/ > raw_report.json
|
||||||
radon raw --json src/ > raw_report.json
|
|
||||||
radon cc --json src/ > cc_report.json
|
radon cc --json src/ > cc_report.json
|
||||||
radon mi --json src/ > mi_report.json
|
radon mi --json src/ > mi_report.json
|
||||||
//TODO: add conversion and HTML publisher step
|
//TODO: add conversion and HTML publisher step
|
||||||
|
|
Loading…
Reference in New Issue
Block a user