Jenkins project configuration for running a maven -gatling application.

3 views
Skip to first unread message

sha

unread,
Jun 28, 2019, 11:18:15 AM6/28/19
to Jenkins Users
I have posted the same query in Gatling user group (https://groups.google.com/forum/#!msg/gatling/R9WL3VjisU4/N9LIU6bXBQAJ)as i'm not sure if its something related to maven or gatling in integration with a jenkins job to automate my application.

I'm trying to find a way to use jenkins job to automate my application but running into issue with build failure and not much info in failed job console to figure out what is the issue. I have tried executing my project multiple times in local however configuring in jenkins to run is causing failures. 
Please checkout the link and if not accessible ,posting the same ques here:

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 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.
I'm a beginner so any suggestions very much appreciated.

thanks in advance!
Reply all
Reply to author
Forward
0 new messages