views:

58

answers:

2

I am building an asp.net shell on top of CCNet 1.5, where I send commands like force build to CCNet through the api. The ThoughtWorks.CruiseControl.Remote namespace has methods to get information from CCNet on the build, like status, elapsed time, etc.

I would like to programmatically get the MSBuild task output from the CCNet api, but I haven't seen any methods for this. Is it at all possible? Or do I need to scan output files on disk or something? Any suggestions?

A: 

Don't know if you can get build log number, but if then you could retrieve the XML Log file from the Dashboard?

http://buildsrv/ccnet/server/local/project//build/log20100716115659.xml/XmlBuildLog.xml

(CC.NET Version 1.5.6804.1)

Arthur
No, it doesn't seem I can get the log number through the api :(
Jappie
A: 

The solution was to implement a custom IMergeTask and save the build log to database. In the end, it isn't possible to get the build log through the api.

Jappie