0

Is there a way to prevent a build step from failing the overall build?

I have one (sbt) build step that if the tests fail I would like to fail the build, and then another that might exit with a non zero status code, and should only run if the first step was successful, but should not have an impact on the overall build status. Is that at possible?

Klugscheißer
  • 1,575
  • 1
  • 11
  • 24

2 Answers2

0

No, TeamCity developers still nto introduced editable conditions for build steps. You can use PowerShell script to run and outbounding status control for you step.

JGooLaaR
  • 94
  • 7
0

You might be able to do this by modifying the teamcity-info.xml file for the build.

bluescores
  • 4,437
  • 1
  • 20
  • 34