I am using Performance plugin in Jenkins for my Jmeter tests. It allows me to fail a build either based on relative threshold or error threshold. But I want to fail a build doing both i.e.
compare with the previous build and if the relative difference is more than 80%, fail the build
If the build has any errors, fail the build.
How do i achieve both?