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

别说谁变了你拦得住时间么 提交于 2020-01-02 10:21:15

问题


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?


回答1:


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




回答2:


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.



来源:https://stackoverflow.com/questions/37405539/how-do-i-use-the-publish-tap-results-plugin-on-jenkins-2-0-pipeline

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!