From f02e600d82b8419d10873a1399abbe0156e0d1fe Mon Sep 17 00:00:00 2001 From: "shikhar.s" Date: Tue, 27 Aug 2019 22:34:56 +0530 Subject: [PATCH] static code metrix1 --- Jenkinsfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index f2ac43d4..fdb23aa5 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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