ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Publishing the results of CCCC and XUnit test plugins through jenkinsfile in a Pipeline

asked 2018-02-20 03:13:00 -0500

HalfBloodPrince7 gravatar image

I have a freestyle ROS job on jenkins that I recently converted to a pipeline job. I want to publish test reports, code coverage report and the like for the said job in the last stage after having generated the relevant reports in an earlier stage. All the other post build actions were easy to implement except for publishing CCCC report and XUnit test coverage report. I suspect some plugins like these two are not compatible with jenkins pipeline (Jenkinsfile). Is there a workaround for me to get these two post-build actions published for my job from the Jenkinsfile? Basic, but I am stuck.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2018-02-21 08:55:12 -0500

nuclearsandwich gravatar image

Since this question doesn't apply exclusively to ROS builds. I think you'll have more luck asking on the Jenkins users mailing lists. My understanding is that plugins must add support for pipeline projects so not all plugins have done so. There is a list of Plugins that support pipeline maintained in the pipeline plugin repository.

The xUnit plugin is listed as working with pipeline from 1.100 on and the wiki page includes a pipeline example: https://wiki.jenkins.io/display/JENKI...

CCCC is listed as abandoned and hasn't been updated since 2011 so it is unlikely to ever receive pipeline support.

edit flag offensive delete link more

Comments

xUnit plugin worked just fine. Thank you for the link. Yes, CCCC doesn't seem to have any support right now. I'll just work with a downstream job for publishing all my test reports.

HalfBloodPrince7 gravatar image HalfBloodPrince7  ( 2018-02-23 02:57:05 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2018-02-20 03:08:53 -0500

Seen: 849 times

Last updated: Feb 21 '18