How to ignore the result of some failed step and allow build result the last step result?

We use Team City as test runner, If tests fail I have the step with retry failed tests. But, after successes running them I've got status 1 in TC and got failed build
How to fix it?

0
2 comments

Hi,

We are going to need more than that to be able to provide any kind of help. Where does the "status 1" come from? More details such as the part of the build log and any errors that could appear during the step would be useful in understanding. What kind of build steps are you running?

0

Oh sorry, a quick follow up. If you have a way to get the step through and identify whether you actually want the build to pass or fail, you can use a service message: https://confluence.jetbrains.com/display/TCD18/Build+Script+Interaction+with+TeamCity#BuildScriptInteractionwithTeamCity-ReportingBuildStatus

0

Please sign in to leave a comment.