有人尝试过使用 gatling plugin对于 Jenkins ,但没有maven?我没有 Maven 项目,但我使用终端(bash 脚本)中的 Gadling 生成结果。使用 -rf
开关我将结果文件夹目标更改为 /var/lib/jenkins/jobs/Gadling_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
构建仅运行 shell 脚本,构建后操作设置为跟踪加特林负载模拟
。
感谢您的任何建议。
最佳答案
关于jenkins - 没有 pom.xml 的 Jenkins 的加特林插件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17918600/