Jenkins integration documentation

Hi,

I am new to Gatling, but not to Performance Testing. I have read the Gatling documentation available here: http://gatling.io/docs/2.0.1/extensions/jenkins_plugin.html. But it makes reference to another location (https://wiki.jenkins-ci.org/display/JENKINS/Gatling+Plugin ) which doesn’t work.
Also, I have searched to blogs, forums, tutorials on this topic and I found nothing on this topic.
I would be interested to make this work: running automated Gatling performance tests with Jenkins. Does anyone know a source of information/tutorial ?

Thank you,
Cristian

I have a Docker image here:
https://github.com/aidylewis/gatling-jenkins-docker

But you may need to update to the newer plugin versions
https://github.com/aidylewis/gatling-jenkins-docker/blob/master/plugins.txt

i can update it to the latest versions if anyone was interested?

Aidy

Hi,

I will try to play with the maven plugin first, then I will check Docker as well. Thank you!

Cristian

Were you able to get through this integration problem? I’m in the exact same boat as you where I’m trying to integrate Gatling plugin with jenkins but after plugin installation, I don’t see any documentation about how to create a jenkins project? Let me know if you have any documentation around it.

If you can wait till tomorrow morning (GMT), I will post some documentation.

Sure sounds good. Thanks a lot.

I’ve used Home|Linux Brew for installation to cover both OS X and GNU/Linux
https://github.com/bbc/notes-on-perf-testing#prerequisites

The instructions are here:
https://github.com/bbc/notes-on-perf-testing/blob/master/ch/jenkins.md

Even though the simulation runs successfully, the Gatling reports are not properly showing and unfortunately I cannot look into this today.

Many Thanks

Aidy

Gatling users,

As Stephane pointed out, the security rules will need to be relaxed in order to view the Gatling reports in later versions of Jenkins. .

Add this Java option to the Jenkins start-up script
# /usr/local/bin/jenkins

-Djava.awt.headless=true -Dhudson.model.DirectoryBrowserSupport.CSP=\"sandbox allow-scripts; style-src 'unsafe-inline' *;script-src 'unsafe-inline' *;\"

Full documentation:
https://github.com/bbc/notes-on-perf-testing/blob/master/ch/jenkins.md

Aidy