Note that there are some explanatory texts on larger screens.

plurals
  1. POCCNet triggers build, but succeeds even if I check in bad code to svn
    text
    copied!<p>I have set up CruiseControl for .NET with SVN as my source control and using NAnt build script. When I manually build the visual studio solution I get errors, which is correct because I have some bad code. After I checked in the code to svn, CCNet triggered the build, but the result shows as SUCCESS. Please see the config and build files below:</p> <p><strong>NAnt build file:</strong></p> <pre><code>&lt;project name="MyServiceClient" default="build"&gt; &lt;target name="init" depends="clean" /&gt; &lt;target name="clean" /&gt; &lt;target name="checkout"/&gt; &lt;target name="compile"/&gt; &lt;!--&lt;target name="deploy"/&gt; &lt;target name="test"/&gt; &lt;target name="inspect"/&gt;--&gt; &lt;target name="build" depends="init, checkout"&gt; &lt;call target="compile" /&gt; &lt;!-- &lt;call target="inspect" /&gt; &lt;call target="test" /&gt; &lt;call target="deploy" /&gt;--&gt; &lt;/target&gt; &lt;/project&gt; </code></pre> <h2><strong>ccnet.config</strong></h2> <pre><code>&lt;cruisecontrol&gt; &lt;project name="MyServiceClient"&gt; &lt;sourcecontrol type="svn"&gt; &lt;trunkUrl&gt;https://dev-wks28.dev.va.root:8443/svn/test/trunk/MyServiceClient&lt;/trunkUrl&gt; &lt;executable&gt;C:/Program Files/VisualSVN Server/bin/svn.exe&lt;/executable&gt; &lt;workingDirectory&gt;C:\test\MyServiceClient&lt;/workingDirectory&gt; &lt;username&gt;kpedda&lt;/username&gt; &lt;password&gt;Password1&lt;/password&gt; &lt;autoGetSource&gt;true&lt;/autoGetSource&gt; &lt;/sourcecontrol&gt; &lt;workingDirectory&gt;C:\test\MyServiceClient&lt;/workingDirectory&gt; &lt;triggers&gt; &lt;intervalTrigger seconds="90" buildCondition="IfModificationExists" /&gt; &lt;scheduleTrigger time="10:00" buildCondition="ForceBuild" /&gt; &lt;/triggers&gt; &lt;tasks&gt; &lt;nant&gt; &lt;executable&gt;C:/Program Files/NAnt/bin/nant.exe&lt;/executable&gt; &lt;baseDirectory&gt;C:/Apps&lt;/baseDirectory&gt; &lt;!--&lt;workingDirectory&gt;C:/test/MyServiceClient&lt;/workingDirectory&gt;--&gt; &lt;!--&lt;projectFile&gt;MyServiceClient.sln&lt;/projectFile&gt;--&gt; &lt;buildFile&gt;default.build&lt;/buildFile&gt; &lt;targetList&gt; &lt;target&gt;build&lt;/target&gt; &lt;/targetList&gt; &lt;/nant&gt; &lt;/tasks&gt; &lt;publishers&gt; &lt;xmllogger/&gt; &lt;/publishers&gt; </code></pre> <p></p> <p>Can anybody please tell me what's going on?</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload