Jenkinsfile: use mergeJunitResults() (#38315)
This commit is contained in:
parent
5be7a36833
commit
58ff63572d
|
@ -15,7 +15,7 @@ pipeline {
|
||||||
utils.publish_coverage_native('index.html')
|
utils.publish_coverage_native('index.html')
|
||||||
utils.publish_pylint('pylint.out')
|
utils.publish_pylint('pylint.out')
|
||||||
}
|
}
|
||||||
junit '*_results.xml'
|
mergeJunitResults()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
2
tox.ini
2
tox.ini
|
@ -9,7 +9,7 @@ usedevelop =
|
||||||
setenv =
|
setenv =
|
||||||
DJANGO_SETTINGS_MODULE=chrono.settings
|
DJANGO_SETTINGS_MODULE=chrono.settings
|
||||||
CHRONO_SETTINGS_FILE=tests/settings.py
|
CHRONO_SETTINGS_FILE=tests/settings.py
|
||||||
coverage: COVERAGE=--junitxml=test_results.xml --cov-report xml --cov-report html --cov=chrono/
|
coverage: COVERAGE=--junitxml=junit-{envname}.xml --cov-report xml --cov-report html --cov=chrono/
|
||||||
deps =
|
deps =
|
||||||
pytest-cov
|
pytest-cov
|
||||||
pytest-django
|
pytest-django
|
||||||
|
|
Loading…
Reference in New Issue