我正在使用 Jenkins 进行部署过程,它工作正常。当我尝试获取 rcov 报告 rails stats 报告和刹车警告时。
[ubuntu@xx.xxx.xxx.xx] 执行命令
** [out :: ubuntu@xx.xxx.xxx.xx] 启动独角兽..
命令在 2228 毫秒内完成
发布构建任务:成功
后期构建任务结束:0
错误:发布者 hudson.plugins.brakeman.BrakemanPublisher 由于异常 java.io.FileNotFoundException 中止:/home/kannan/.jenkins/workspace/Publisher Dev/brakeman-output.tabs(没有这样的文件或目录)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:137)
at hudson.FilePath.read(FilePath.java:1570)
at hudson.FilePath.readToString(FilePath.java:1595)
at hudson.plugins.brakeman.BrakemanPublisher.perform(BrakemanPublisher.java:99)
at hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:146)
at hudson.plugins.analysis.core.HealthAwareRecorder.perform(HealthAwareRecorder.java:331)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804)
at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:776)
at hudson.model.Build$BuildExecution.post2(Build.java:183)
at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:726)
at hudson.model.Run.execute(Run.java:1618)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:247)
正在发布 Rails 统计报告...
构建失败,跳过 rcov 覆盖率报告
构建步骤“发布 Rcov 报告”将构建标记为失败
完成:失败
我应该做些什么