Git submodule update failure should be a failed build

In our project we use git submodules to manage common code among several projects. This morning I came into work and realized someone forgot to push the submodule when they pushed the main project. Interestingly, the teamcity build failed "before it started" since it couldn't properly pull the full submodule, so no one ever got an email indicating that the build failed.

I would like to suggest that, at least for git, a failed submodule update should definitely be a failed build; the same as if someone forgot to make a unit test pass before pushing.

2 comments
Comment actions Permalink

Hi Tim,
you can get notification when build fails to start using a "The build fails to start" checkbox in notification rule settings. Hope it helps.

0
Comment actions Permalink

Thanks, I'll try that

0

Please sign in to leave a comment.