我正在通过 Ant 任务运行 spotbugs,但我无法将结果发布到 jenkins。我收到以下错误
[FindBugs] No valid reference build found that meets the criteria (NO_JOB_FAILURE - SUCCESSFUL_QUALITY_GATE)
[FindBugs] All reported issues will be considered outstanding
这是我正在使用的詹金斯脚本
stage('Publish Spotbugs')
{
def findbugs = scanForIssues tool: [$class: 'FindBugs'], pattern: '**/findbugsXml.xml'
publishIssues issues:[findbugs]
}