Show failed step name name instead of "Exit code 1"?

When a build fails, I typically see "Exit code 1" in TeamCity. That is very not useful.

Is there any way to show the name of the step that failed?

 

0
3 comments

Hi Charlie,

while it's not directly possible to configure this, the build result message is reported via the build runners, or via a script using service messages: https://confluence.jetbrains.com/display/TCD10/Build+Script+Interaction+with+TeamCity#BuildScriptInteractionwithTeamCity-ReportingBuildStatus

While I think this might be helpful in some situations, some situations might be difficult to implement. For example, a build with multiple steps can run all of them even if some of them fail.

If you would still like to see the failing step added to the build status message, please send a feature request to our tracker here: https://youtrack.jetbrains.com/issues/TW

0

Fixed in TC 2018.2 .

0

Please sign in to leave a comment.