I would like to use the "Publish TAP results" plugin on Jenkins 2.0 pipeline.
I'm not sure of the equivalent Groovy script for the same. Can someone help?
I would like to use the "Publish TAP results" plugin on Jenkins 2.0 pipeline.
I'm not sure of the equivalent Groovy script for the same. Can someone help?
This support was added to the TAP plugin 2.0 (2016-08-20).
Usage:
step([$class: "TapPublisher", testResults: "**/target/tap-unit.log"])
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.
© 2022 - 2024 — McMap. All rights reserved.