static code metrix1

This commit is contained in:
shikhar.s 2019-08-27 22:34:56 +05:30
parent 1f9d71d611
commit f02e600d82
1 changed files with 1 additions and 2 deletions

3
Jenkinsfile vendored
View File

@ -125,8 +125,7 @@ pipeline {
stage('Static code metrics') {
steps {
echo "Raw metrics"
sh ''' source activate ${BUILD_TAG}
radon raw --json src/ > raw_report.json
sh ''' radon raw --json src/ > raw_report.json
radon cc --json src/ > cc_report.json
radon mi --json src/ > mi_report.json
//TODO: add conversion and HTML publisher step