This isn't sufficient. It needs to take the build id supplied by TeamCity for traceability, not invent its own.