无法在Linux Jenkins服务器中生成诱惑报告

时间:2017-07-24 18:18:01

标签: java linux jenkins allure

Allure报告不是在linux jenkins服务器上生成的,同样是在MAC jenkins服务器上运行。有人可以建议吗?

以下是错误

工具ID无效

错误:由于异常,步骤'倾城报告'中止:
java.io.IOException:找不到诱惑命令行 在ru.yandex.qatools.allure.jenkins.tools.AllureCommandlineInstallation $ 2.call(AllureCommandlineInstallation.java:63)     在ru.yandex.qatools.allure.jenkins.tools.AllureCommandlineInstallation $ 2.call(AllureCommandlineInstallation.java:58)     在hudson.remoting.LocalChannel.call(LocalChannel.java:45)     在ru.yandex.qatools.allure.jenkins.tools.AllureCommandlineInstallation.getMajorVersion(AllureCommandlineInstallation.java:58)     在ru.yandex.qatools.allure.jenkins.ReportBuilder.build(ReportBuilder.java:43)     在ru.yandex.qatools.allure.jenkins.AllureReportPublisher.generateReport(AllureReportPublisher.java:171)     在ru.yandex.qatools.allure.jenkins.AllureReportPublisher.perform(AllureReportPublisher.java:94)     在hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:78)     在hudson.tasks.BuildStepMonitor $ 1.perform(BuildStepMonitor.java:20)     在hudson.model.AbstractBuild $ AbstractBuildExecution.perform(AbstractBuild.java:779)     在hudson.model.AbstractBuild $ AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:720)     在hudson.model.Build $ BuildExecution.post2(Build.java:186)     在hudson.model.AbstractBuild $ AbstractBuildExecution.post(AbstractBuild.java:665)     在hudson.model.Run.execute(Run.java:1753)     在hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)     在hudson.model.ResourceController.execute(ResourceController.java:98)     在hudson.model.Executor.run(Executor.java:405)

1 个答案:

答案 0 :(得分:1)

听起来像你已经配置了#34; Allure命令行安装"不自动安装;你有没有下载并安装Allure到linux文件系统上的目录?

这就是说:" java.io.IOException:找不到诱惑命令行"