【发布时间】:2017-12-21 08:42:27
【问题描述】:
我正在将我们的旧 Jenkins 构建迁移到声明式管道。我们使用 xUnit 插件发布单元测试,对于 JUnit,以下工作正常:
step([$class: 'XUnitBuilder',
thresholds: [[$class: 'FailedThreshold', unstableThreshold: '1']],
tools: [[$class: 'JUnitType', pattern: '**/surefire-reports/*.xml'],
[$class: 'JUnitType', pattern: '**/generatedJUnitFiles/JUnit/*.xml'],]
])
我的问题是我不知道如何发布我们的增强测试。是否有类似于JUnitType 的BoostType,或者还不支持提升测试?
【问题讨论】:
标签: unit-testing jenkins boost continuous-integration xunit