How do you get Jenkins to execute python unittest cases? Is it possible to JUnit style XML output from the builtin unittest package?
unittest
python -m pytest --junit-xml=pytest_unit.xml source_directory/test/unit || true # tests may fail
Run this as shell from jenkins , you can get the report in pytest_unit.xml as artifact.