From 13d9229f527c54dd321e89d8913b2f050bf3ecc4 Mon Sep 17 00:00:00 2001 From: Ed Date: Wed, 10 Jan 2024 09:57:18 +0000 Subject: [PATCH] Add junit test logging to unity stage --- Jenkinsfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 138f9ffd..3479f03c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -49,7 +49,8 @@ pipeline { withVenv { runWaf('.', "configure clean build --target=xcore200") viewEnv() { - runPython("TARGET=XCORE200 pytest -s") + runPython("TARGET=XCORE200 pytest -s --junitxml=pytest_unity.xml") + junit "pytest_unity.xml" } } }