How to run msbuild from ant so that I can see msbuild (compilation) errors on teamcity -
i have multilanguage project using java, c#, c++. , using ant script building , running test.
currently, exec msbuild ant script , redirect msbuild output log files. if build fails on msbuild (.net) compilation errors should go artifacts , log file , search error in file. want see compilation error on overview tab of teamcity build (both java , .net).
teamcity has msbuild task nant out of box, has no support msbuild on ant. of course can split build process in 2 parts: ant script java ant nant .net, it's undesirable.
so, best way msbuild (compilation) errors on teamcity build page in case of msbuild called ant build script.
i found answer in topoc: how teamcity recognize msbuild compilation errors, using rake runner. need run msbuild this:
msbuild /l:jetbrains.buildserver.msbuildloggers.msbuildlogger, path dll
Comments
Post a Comment