[Declarative Pipeline] TestNg report

197 views
Skip to first unread message

Dan Tran

unread,
Jan 5, 2017, 5:17:05 AM1/5/17
to Jenkins Users

Hi 

Current pipeline, this is the snippet for testng report

step([$class: 'Publisher', reportFilenamePattern: 'itests/sit/report/**/testng-results.xml'])

How do I do it for declarative pipeline?

Thanks

-Dan

Andrew Bayer

unread,
Jan 6, 2017, 12:33:04 PM1/6/17
to jenkins...@googlegroups.com
That should still work - though it'd be great if the testng plugin could get a "@Symbol("testng")" annotation added to its descriptor!

A.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/a9333889-b9b2-468d-973c-25a635bc3fa3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages