tags:

views:

58

answers:

5

Hi, This is a doubt regading the usage of cruise control.NET which is invoking my IDE for execution.After the execution,i am unable to getthe data present in my IDE to some text file.Is there any way that i can do it so that if i could get the text file or log files,i could then integrate with my ccnet and in turn notify the developers regarding the status of the build being compiled whether its passing or failing.

Is there any batch files need to be written??

+1  A: 

Hi, Plz ignore the above question.The actual question is shown below.Plz hav a look.Sorry for the confusion.

Hi, This is a doubt regading the usage of cruise control.NET which is invoking my IDE for execution.After the execution,i am unable to getthe data present in my IDE to some text file.Is there any way that i can do it so that if i could get the text file or log files,i could then integrate with my ccnet and in turn notify the developers regarding the status of the build being compiled whether its passing or failing.

Is there any batch files need to be written??

With kind regards Maddy

Maddy
Please delete this answer. I have edited your question.
Cerebrus
A: 

What data are you trying to get from the IDE? Unit test results? Build errors?

Tom DAurizio
+1  A: 

yes,i m trying to bring my Build errors frm the IDE.Can anyone help any Batch file need to be written??

Maddy
A: 

Not really sure where to start, as for me build errors showed up right out of the box.

Here's a cleaned up/down version of my config, maybe that will point you in the right direction. The merge section may be what you're missing.

<sourcecontrol type="vsts" autoGetSource="true" applyLabel="true">
  <server>http://[SourceControlServer & Port]</server>
  <project>$[Path to root from which you want to get files]/</project>
  <workingDirectory>c:\CC</workingDirectory>
  <cleanCopy>false</cleanCopy>
  <workspace>CCNet</workspace>
  <deleteWorkspace>false</deleteWorkspace>
</sourcecontrol>

<tasks>
  <!-- build the main solution-->
  <devenv>
    <solutionfile>c:\CC\blah\blah.sln</solutionfile>
    <configuration>debug</configuration>
    <buildtype>Rebuild</buildtype>
    <executable>C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\devenv.com</executable>
  </devenv>
</tasks>

<publishers>
  <!-- this section adds things (merges) into the notifications -->
  <merge>
    <files>          
      <file>C:\CruiseControlRoot\Artifacts\messages.txt</file>
    </files>
  </merge>

  <xmllogger />

  <email from="[email protected]" mailhost="exbpn002.MyCompany.com" mailhostUsername="tdaurizi" includeDetails="TRUE">

    <users>
      <user name="jdoe" group="developers" address="[email protected]"/>
      <user name="jqpublic" group="developers" address="[email protected]"/>
    </users>

    <groups>
      <group name="developers" notification="always"/>
    </groups>
  </email>
</publishers>

<artifactDirectory >C:\CruiseControlRoot\Artifacts</artifactDirectory >
<category>Category 1</category>
<webURL>http://[Build server hosting CCNet]ViewLatestBuildReport.aspx</webURL>
<modificationDelaySeconds>120</modificationDelaySeconds>
<triggers>
  <intervalTrigger name="continuous" seconds="60" buildCondition="IfModificationExists" />
</triggers>

Tom DAurizio
+1  A: 

Hi tom, Thanks for this great input.But what i need is the output should get transfered from my IDE to some text file so that i can then merge with my ccnet to notify my developers regarding this.I am able to see the putput on my IDE,but that is not been logged into anything as such.So should i add something in the ccnet to get the output logged??

Maddy