Search code examples
jenkinsjenkins-pipelinetapjenkins-2

How do i use the "Publish TAP Results" plugin on Jenkins 2.0 Pipeline?


I would like to use the "Publish TAP results" plugin on Jenkins 2.0 pipeline. enter image description here

I'm not sure of the equivalent Groovy script for the same. Can someone help?


Solution

  • This support was added to the TAP plugin 2.0 (2016-08-20).

    Usage: step([$class: "TapPublisher", testResults: "**/target/tap-unit.log"])

    https://issues.jenkins-ci.org/browse/JENKINS-34000