Jenkins job failure when running a freestyle maven-gatling project

前端 未结 2 1412
忘掉有多难
忘掉有多难 2020-12-22 07:32

I have created a gatling maven based application; wrote some actions, scenario and able to successfully run them locally in IDE using $mvn gatling:test to buil

2条回答
  •  有刺的猬
    2020-12-22 08:16

    I'm not sure how this can be fixed on a freestyle project but I'm sure a Gatling-Maven project works with a pipeline job. See a detailed description here: how to integrate gatling with jenkins

    As for the reports, you have to install the Gatling plugin on Jenkins. This adds a Gatling option to the menu bar on the left where the reports are listed from all the previous builds. It also shows some build statistics on graphs, which is nice. However, the reports are not portable (or at least I didn't find a way to download and zip all the source files as I would with the local report folder).

提交回复
热议问题