jenkins: show execution context in coverage reports (#60446)
This commit is contained in:
parent
690d2ff874
commit
964a28b2dd
|
@ -0,0 +1,5 @@
|
|||
[run]
|
||||
dynamic_context = test_function
|
||||
|
||||
[html]
|
||||
show_contexts = True
|
|
@ -13,6 +13,7 @@ pipeline {
|
|||
script {
|
||||
utils = new Utils()
|
||||
utils.publish_coverage('coverage.xml')
|
||||
utils.publish_coverage_native('index.html')
|
||||
}
|
||||
mergeJunitResults()
|
||||
}
|
||||
|
|
2
tox.ini
2
tox.ini
|
@ -28,7 +28,7 @@ setenv =
|
|||
DOCBOW_SETTINGS_FILE=tests/settings.py
|
||||
mellon: DOCBOW_SETTINGS_FILE=tests/sso/settings.py
|
||||
pfwbmellon: DOCBOW_SETTINGS_FILE=tests/pfwbmellon/settings.py
|
||||
coverage: COVERAGE=--cov-append --cov-report xml --cov-report html --cov=docbow_project/
|
||||
coverage: COVERAGE=--cov-append --cov-report xml --cov-report html --cov=docbow_project/ --cov-config .coveragerc
|
||||
BRANCH_NAME={env:BRANCH_NAME:}
|
||||
commands =
|
||||
./getlasso3.sh
|
||||
|
|
Loading…
Reference in New Issue