Let TeamCity track warnings from IAR-Compiler via command line runner -
i working teamcity's latest version. have configured teamcity compile iar embedded workbench projects via command line runner follows:
run: executable parameters command executable: %iar_path%\common\bin\iarbuild.exe command parameters: project1/example_project/_build/example.ewp -build debug
svn structure is:
<root>---- tags | +--------- branches | +--------- trunk | +---- example_project | +---- _build
in order highlight "todo-notes", have function generates warnings todo notes can see in compile log. examples:
file_main.cpp(353) : warning[todo]: "this should done tomorrow." main.cpp(99) : remark[ga826]: parameter "foobar" never referrenced. debug.cpp(123) : remark[pe192]: argument incompatible corresponding format string conversion
how can make teamcity track these warning messages? want show them in overview-tab, or if impossible, in warning tab. i've tried figure out msbuilder examples , documentation, i'm stuck figuring out. =/ help!
i solved problem follows: wrote 2 simple parser programs in python: a buildlog parser current build-log snippet contains iar-log , an iar-log parser uses regular expressions. seems bit complicated , there maybe simpler way this, works! if have questions, send me message. regards, aureon
Comments
Post a Comment