没有pom.xml的Jenkins的Gatling插件

Iwo*_*ski 4 jenkins jenkins-plugins gatling

有没有人试图为jenkins 使用gatling 插件,但没有maven?我没有maven项目,但是我使用终端中的Gatling(bash脚本)生成结果.使用-rf开关我将结果文件夹目标更改为/var/lib/jenkins/jobs/Gatling_test/builds/newest_build/results,但无论如何都有错误:

Archiving Gatling reports...
ERROR: Publisher com.excilys.ebi.gatling.jenkins.GatlingPublisher aborted due to exception
java.lang.IllegalArgumentException: Could not find a Gatling report in results folder.
    at com.excilys.ebi.gatling.jenkins.GatlingPublisher.saveFullReports(GatlingPublisher.java:97)
    at com.excilys.ebi.gatling.jenkins.GatlingPublisher.perform(GatlingPublisher.java:65)
    at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
    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)
Finished: FAILURE
Run Code Online (Sandbox Code Playgroud)

构建只运行shell脚本,并将后构建操作设置为Track a Gatling load simulation.谢谢你的任何建议.

Rom*_*lon 7

我认为您应该将结果发送到作业的工作区,而不是作业本身.

代码中,插件在构建的工作空间中查找结果.

希望这可以帮助!