Unanswered question

Can we change the status of a test after the test is completed in jenkins

I ran a test in Jenkins and test is failed because my SLA is failed. Is there anyway to change this behavior and change the status to pass in Jenkins.

Sadasivuni V.
Sadasivuni V.

Sadasivuni V.

317 / 750


You can't change that for the existing tests but for the futur tests you can add that option "-exitCodeFailIgnore" in your command line to force the exit code to 0 instead of 1 when a SLA failed.