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.

Level
1
317 / 750
points

Answers

Nouredine A.
Nouredine A.

Nouredine A.

Level
4
5000 / 5000
points
Team

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.