Issue when running a maven-gatling project in jenkins

How to set up a jenkins project for a maven-gatling application. I have tried both ways free-style and maven based jenkins project but jenkins job is failing so not sure if its because of my pom.xml file or the configurations in jenkins.
Can someone provide a step-by step instructions in brief to start configuring jenkins for this project. My project is similar to https://github.com/gatling/gatling-maven-plugin-demo

In a freestyle project I have this cmd in execute shell mvn gatling:test
I see its fetching the maven dependencies but the fails Build step ‘Execute shell’ marked build as failure .

On the contrary in maven jenkins project I’m just putting clean install as Goals and options and root pom as my pom.xml in Build step.

Any help is very much appreciated.