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
Created a new free style job in jenkins and configured the Build step as:
put the Root POM as pom.xml
,
in Goals and options gatling:test
Also enabled simulation tracking
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).