diff --git a/Jenkinsfile b/Jenkinsfile index e2da04a6..4d11d6ae 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -126,7 +126,8 @@ pipeline { stage('Static code metrics') { steps { echo "Raw metrics" - sh ''' radon raw --json src/ > raw_report.json + sh ''' export PATH=${VIRTUAL_ENV}/bin:${PATH} + 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