Re: Build Not failing when Jmeter test in Jenkins fail

2017-02-12 Thread ssitaramasastri
Hi, Thank you so much for your help. I am able to fix this by setting the exit code to 1. Sitaram On Saturday, February 4, 2017 at 1:59:40 AM UTC-6, Fritz Elfert wrote: > > When executing a shell, jenkins uses the exit code for determining > success/failure. So: > > => Change your shell

Re: Build Not failing when Jmeter test in Jenkins fail

2017-02-03 Thread Fritz Elfert
When executing a shell, jenkins uses the exit code for determining success/failure. So: => Change your shell script so that it exits with an non-zero exitcode in case of failure. CU -Fritz On 04.02.2017 07:45, ssitaramasas...@gmail.com wrote: > Hi, > > I have Jenkins running as Container in

Build Not failing when Jmeter test in Jenkins fail

2017-02-03 Thread ssitaramasastri
Hi, I have Jenkins running as Container in docker, I have setup Jmeter environment with one test case and ran it from Jenkins 'Execute Shell', it runs fine but I intentionally set the test case to fail, so it fails. My expectatation was that Jenkins would stop build and throw an error but it