static code metrix1

This commit is contained in:
shikhar.s 2019-08-27 22:34:56 +05:30
parent 1f9d71d611
commit f02e600d82

3
Jenkinsfile vendored
View File

@ -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