2

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?

Vadim Kotov
  • 8,084
  • 8
  • 48
  • 62
Ramya AT
  • 159
  • 3
  • 15

2 Answers2

7

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

Tim Mui
  • 86
  • 1
  • 5
1

Currently there is no support for the pipeline, see https://issues.jenkins-ci.org/browse/JENKINS-34000.

But you can create on GitHub a pull request implementing that feature.

CSchulz
  • 10,882
  • 11
  • 60
  • 114