SVN Tagging (broken?)
Hi there,
Just about all of our projects are built by getting source from multiple repositories, kind of like:
http://<DEV server>/svn/engine/trunk/hardware_api => hardware_api
http://<DEV server>/svn/engine/tags/v39/gamesystems_api => gamesystems_api
http://<DEV server>/svn/game1/tags/v39/game1 => game1
http://<DEV server>/svn/game1/tags/v39/game_specific_api => game_specific_api
We have one uber job that builds everything in the toolchain, and is set to tag on successful build, however we find the tagging quite flakely, typically only half the repositories get tagged, the other half seemed to fail with an SVN message complaining about the log message being less than 5 characters long. Interestingly, different projects seem to fail to tag each time, (so one will work first time, fail second time, work again third time, and so on). Has anyone else experienced this? Is it a bug in TeamCity or is it likely that I have a setting wrong somewhere?
| (svn) boost_(trunk) | 13887 | none (disabled for the vcs root) |
| (svn) converters_(trunk) | 13887 | Failed: Failed to set label 'build-28': Labeling the path 'trunk/converters' to 'tags/TeamCityBPC02/converters/build-28' has failed with the error: svn: 'pre-commit' hook failed with error output: You must enter a log message of at least 5 characters svn: MERGE |
| (svn) exporter_(trunk) | 13887 | build-28 |
| (svn) gameapi (v39) | 36642 | build-28 |
| (svn) Lua_(trunk) | 13887 | none (disabled for the vcs root) |
| (svn) nu2api_(trunk) | 36642 | build-28 |
| (svn) nudistrib_(trunk) | 13887 | none (disabled for the vcs root) |
| (svn) nufeedback_(trunk) | 13887 | none (disabled for the vcs root) |
| (svn) nuphotoshop_(trunk) | 13887 | Failed: Failed to set label 'build-28': Labeling the path 'trunk/nuphotoshop' to 'tags/TeamCityBPC02/nuphotoshop/build-28' has failed with the error: svn: 'pre-commit' hook failed with error output: You must enter a log message of at least 5 characters svn: MERG |
| (svn) nurndr2bmp_(trunk) | 13887 | build-28 |
| (svn) nutestsuite_parallel(branch) | 13887 | none (disabled for the vcs root) |
| (svn) nuview_(trunk) | 13887 | build-28 |
Any help would be appreciated, probably worth mentioning we are running 'TeamCity Enterprise Version 4.0.1 (build 8171)'.
Steve
Please sign in to leave a comment.
Steven,
Sorry for the delay in replying.
From the message you provided it seems that you have a pre-commit hook in your Subversion repository that rejects TeamCity labeling for some reason. You probably need to investigate the reason and let us know if there is something you need to adjust in TeamCity labeling process.
Yegor