我如何使用“发布TAP结果"; Jenkins 2.0 Pipeline上的插件? [英] How do i use the "Publish TAP Results" plugin on Jenkins 2.0 Pipeline?

查看:150
本文介绍了我如何使用“发布TAP结果"; Jenkins 2.0 Pipeline上的插件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用"发布TAP结果" Jenkins 2.0管道上的插件.

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

我不确定相同的Groovy脚本是否相同.有人可以帮忙吗?

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

推荐答案

此支持已添加到TAP插件2.0(2016-08-20)中.

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

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

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

这篇关于我如何使用“发布TAP结果"; Jenkins 2.0 Pipeline上的插件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆