xunit report from dotnet test command in jenkins pipeline

10 views
Skip to first unread message

Faad Sayaou

unread,
Dec 9, 2018, 10:44:14 AM12/9/18
to Jenkins Users
Hello everyone,
I have been struggling with an issue for parsing test results to xunit for publishing. My goal is to display this in Jenkins UI for seeing all the passed tests. Below is my script
sh  'dotnet test  --logger:trx path/to/my/project/project.csproj'
       xunit testTimeMargin: '3000', thresholdMode: 1, thresholds: [], tools: [xUnitDotNet(deleteOutputFiles: true, failIfNotNew: true, pattern: '**/*.trx', skipNoTestFiles: false, stopProcessingIfError: false)]



Attached, is the output from the console. Can someone tell me what i am doing wrong?thanks
new.JPG
Reply all
Reply to author
Forward
0 new messages