Making buildconfigs fail when they produce no artifacts
This would be a very nice checkbox in the buildconfig's settings screen.
We have several buildconfig's that sometimes actually fail, but show up as green, because the commandline tool didn't exit with an errorcode,
however it didn't produce artifacts at the agreedupon location either.
Is there any way I can make teamcity do this?
Bye, Lucas
Please sign in to leave a comment.
Feel free to submit feature request, although at the moment you probably could write a script which will check presence of the artifacts and produce required error code. You can also use service messages to produce more descriptive error: http://www.jetbrains.net/confluence/display/TCD5/Build+Script+Interaction+with+TeamCity
We have a related feature request filed for this. Please watch/vote/comment on it.