changing in env
This commit is contained in:
parent
fb1ad71265
commit
aaec5b58db
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user