目前,构建步骤Publish JUnit test result report将构建结果更改为 UNSTABLE。
Build step 'Publish JUnit test result report' changed build result to UNSTABLE
但我不希望它改变我的构建状态。我尝试设置
checked)但是插件仍然会改变构建状态。如何禁用插件更新构建结果?
您可以添加参数:
skipMarkingBuildUnstable:true
Run Code Online (Sandbox Code Playgroud)
在你的詹金斯管道中。对我来说,此后效果很好:
junit testResults: 'target/surefire-reports/junitreports/TEST-RunCucumberTest.xml', skipPublishingChecks: true, skipMarkingBuildUnstable:true
Run Code Online (Sandbox Code Playgroud)
此信息实际上在插件网站中不可见: https: //plugins.jenkins.io/junit/
但此更改已合并并可用: https ://github.com/jenkinsci/junit-plugin/pull/282
| 归档时间: |
|
| 查看次数: |
1035 次 |
| 最近记录: |