dbob
3 years agoNew Contributor
Set a Jenkins pipeline to success if the rerun succeded
Hi
I have a TestComplete project, with Keyword tests. The test
- On error property is set to "Use projects 'On Error' property"
- The project On Error property is set to rerun
- Rerun is set to 1
If a test fails the first time, and it passes the second, the result code is 2, which means there has been errors.
Is there a way to set the build to success if the rerun was successful? For example, on other tools an different exit code is returned, which can then be used to set the Jenkins status.