changing in env

This commit is contained in:
shikhar.s 2019-08-28 15:55:31 +05:30
parent fb1ad71265
commit aaec5b58db

3
Jenkinsfile vendored
View File

@ -126,7 +126,8 @@ pipeline {
stage('Static code metrics') { stage('Static code metrics') {
steps { steps {
echo "Raw metrics" 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 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