Add junit test logging to unity stage
This commit is contained in:
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
@@ -49,7 +49,8 @@ pipeline {
|
|||||||
withVenv {
|
withVenv {
|
||||||
runWaf('.', "configure clean build --target=xcore200")
|
runWaf('.', "configure clean build --target=xcore200")
|
||||||
viewEnv() {
|
viewEnv() {
|
||||||
runPython("TARGET=XCORE200 pytest -s")
|
runPython("TARGET=XCORE200 pytest -s --junitxml=pytest_unity.xml")
|
||||||
|
junit "pytest_unity.xml"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user