ci: jenkins coverage report
This commit is contained in:
parent
c203e13604
commit
d54fc5dad1
8
Jenkinsfile
vendored
8
Jenkinsfile
vendored
@ -12,11 +12,9 @@ pipeline {
|
|||||||
steps {
|
steps {
|
||||||
sh 'pip install pip --upgrade --progress-bar off'
|
sh 'pip install pip --upgrade --progress-bar off'
|
||||||
sh 'pip install .[all] --progress-bar off'
|
sh 'pip install .[all] --progress-bar off'
|
||||||
sh '~/.local/bin/pytest -v --junitxml=reports/result.xml'
|
sh '~/.local/bin/pytest -v --junitxml=reports/result.xml --cov=prototorch/ --cov-report=xml:reports/coverage.xml'
|
||||||
}
|
cobertura coberturaReportFile: 'reports/coverage.xml'
|
||||||
post {
|
junit 'reports/**/*.xml'
|
||||||
always {
|
|
||||||
junit 'reports/**/*.xml'
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user