# Gatling Jenkins Plugin Build Failure

**URL:** <https://community.gatling.io/t/gatling-jenkins-plugin-build-failure/939>\
**Category:** Gatling (Open-Source)\
**Created:** [April 8, 2014, 4:36pm UTC](https://community.gatling.io/t/gatling-jenkins-plugin-build-failure/939 "2014-04-08T16:36:15Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andrea\_Bozzoni](https://avatars.discourse-cdn.com/v4/letter/a/f04885/32.png) [@Andrea\_Bozzoni](https://community.gatling.io/u/Andrea_Bozzoni)\
**Post date:** [April 8, 2014, 4:36pm UTC](https://community.gatling.io/t/gatling-jenkins-plugin-build-failure/939/1 "2014-04-08T16:36:15Z")

</div>

Hi everybody,  
I would like to know if it will be developed a function in the jenkins plugin to make the build failed if the performance tests are worse of a certain percentage respect at a defined baseline.  
More or less like something like is already possible with the Jenkins Perfomance plugin.

Thanks,  
Andrea

---

<div class="post-metadata">

**Author:** ![Excilys](https://avatars.discourse-cdn.com/v4/letter/e/8797f3/32.png) [@Excilys](https://community.gatling.io/u/Excilys)\
**Post date:** [April 8, 2014, 4:39pm UTC](https://community.gatling.io/t/gatling-jenkins-plugin-build-failure/939/2 "2014-04-08T16:39:02Z")

</div>

The Gatling Jenkins plugin honors the assertions: [https://github.com/excilys/gatling/wiki/Assertions](https://github.com/excilys/gatling/wiki/Assertions)

---

<div class="post-metadata">

**Author:** ![Andrea\_Bozzoni](https://avatars.discourse-cdn.com/v4/letter/a/f04885/32.png) [@Andrea\_Bozzoni](https://community.gatling.io/u/Andrea_Bozzoni)\
**Post date:** [April 8, 2014, 5:02pm UTC](https://community.gatling.io/t/gatling-jenkins-plugin-build-failure/939/3 "2014-04-08T17:02:48Z")

</div>

Thanks for the quick reply and sorry if I didn’t see them in the doc.  
But I would like to understand if there is a way to make a build fail if it is ,for example, 20% worse of the previous build from the performance point of view?

Regards,  
Andrea

---

<div class="post-metadata">

**Author:** ![Excilys](https://avatars.discourse-cdn.com/v4/letter/e/8797f3/32.png) [@Excilys](https://community.gatling.io/u/Excilys)\
**Post date:** [April 8, 2014, 5:17pm UTC](https://community.gatling.io/t/gatling-jenkins-plugin-build-failure/939/4 "2014-04-08T17:17:17Z")

</div>

Currently no, it doesn’t compare results from one build to another.  
Contributions welcome 🙂

---

<div class="post-metadata">

**Author:** ![Andrea\_Bozzoni](https://avatars.discourse-cdn.com/v4/letter/a/f04885/32.png) [@Andrea\_Bozzoni](https://community.gatling.io/u/Andrea_Bozzoni)\
**Post date:** [April 8, 2014, 5:26pm UTC](https://community.gatling.io/t/gatling-jenkins-plugin-build-failure/939/5 "2014-04-08T17:26:09Z")

</div>

I’m interested to do it but I need some time to study Scala, that is already in my scope. 🙂  
Do I need some other specific knowledge?

---

<div class="post-metadata">

**Author:** ![Excilys](https://avatars.discourse-cdn.com/v4/letter/e/8797f3/32.png) [@Excilys](https://community.gatling.io/u/Excilys)\
**Post date:** [April 8, 2014, 5:30pm UTC](https://community.gatling.io/t/gatling-jenkins-plugin-build-failure/939/6 "2014-04-08T17:30:45Z")

</div>

The Jenkins plugin is written in Java 🙂

---

<div class="post-metadata">

**Author:** ![Andrea\_Bozzoni](https://avatars.discourse-cdn.com/v4/letter/a/f04885/32.png) [@Andrea\_Bozzoni](https://community.gatling.io/u/Andrea_Bozzoni)\
**Post date:** [April 8, 2014, 5:36pm UTC](https://community.gatling.io/t/gatling-jenkins-plugin-build-failure/939/7 "2014-04-08T17:36:35Z")

</div>

You are right I forgot it! I need only to study the jenkins plugin.
