Get robot result in Jenkins pipeline

1,100 views
Skip to first unread message

Edward Song

unread,
Mar 27, 2019, 7:17:49 PM3/27/19
to robotframework-users
Hi All,

I'm using Pipeline script to trigger a child job in Jenkins.
My job copied build artifacts from the child job and using RobotPublisher to parse and post the test result.
However, I'm trying to put the result into an email.
I couldn't find the variables to show me pass/failed cases in the emails.
RobotPublisher can show the results in the webpage, but there's no way for me to find a method to get data from it.

Here's what I'm using:
step([$class: 'RobotPublisher',
outputPath: 'log', outputFileName: 'output_DUT.xml',
reportFileName: 'report_DUT.html', logFileName: 'log_DUT.html',
passThreshold: 100, unstableThreshold: 0, onlyCritical: true,
otherFiles: "debug.log", disableArchiveOutput: true, enableCache: true])


Is there anyone here to help?

Thanks a lot!

Ed

Mallika Bandaru

unread,
Mar 28, 2019, 2:04:04 AM3/28/19
to edward...@gmail.com, robotframework-users
Hi All, 

Even I am facing similar issue. Can someone help?

Thanks,
Mallika

--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-u...@googlegroups.com.
To post to this group, send email to robotframe...@googlegroups.com.
Visit this group at https://groups.google.com/group/robotframework-users.
For more options, visit https://groups.google.com/d/optout.


--
Regards,
Mallika

Iulius Caesar

unread,
Mar 28, 2019, 8:55:50 PM3/28/19
to nagamalli...@gmail.com, edward...@gmail.com, robotframework-users
Hello,

Just found out about it myself today, as you may have also via this group. Haven't yet tried it out but it could be the answer:


Hope it helps. Good luck!
Reply all
Reply to author
Forward
0 new messages