Inform TeamCity and programmer about error on specific line of code
Answered
I have configured TeamCity that it will invoke a code analysis tool via the command line option. This tool creates a report and now I want to interpreted it with TeamCity. Can I for example use the build script interaction option to inform teamcity that there is an error or a warning on a specific line of code?
Is it also possible to inform the programmer who created that line about this?
Please sign in to leave a comment.
Hello,
Yes, you can report error message for a build log, see https://confluence.jetbrains.com/display/TCD10/Build+Script+Interaction+with+TeamCity#BuildScriptInteractionwithTeamCity-reportingMessagesForBuildLogReportingMessagesForBuildLog,
Yes, you can configure notifications to notify users if the build with their changes fails. For more details see https://confluence.jetbrains.com/display/TCD10/Subscribing+to+Notifications#SubscribingtoNotifications-WhatWillBeWatched.