繁体   English   中英

如何配置 GitLab CI 作业以运行与 sbt 集成的加特林测试?

[英]How to configure GitLab CI job for running Gatling tests integrated with sbt?

我应用了 sbt 插件来使用 Gatling,现在我不知道如何在 GitLab CI 中运行我的场景。 有人有这样的经历吗?

解决。 如何在 gitlab 管道中运行加特林场景:

image: "hseeberger/scala-sbt:8u252_1.3.10_2.13.2"

stages:
  - testLoad

load:
  stage: testLoad
  when: manual
  script:
    - sbt gatling:test
  artifacts:
    paths:
      - "target/gatling/"
    expire_in: 1 week
    when: always

最即插即用的解决方案是使用我们的企业版FrontLine

Even though we don't have a plugin like we do for Jenkins, Bamboo and TeamCity, as GitLab CI doesn't provide a plugin API, we provide a shell script that implements the same load of FrontLine REST API calls.

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM