I am using the exec task to run a command line exe from Microsoft. When it 
works, I would see this in the server log:
[DeployTestApp_Package E:\Program Files (x86)\Microsoft BizTalk Server 
2009\btstask.exe] Command succeeded with 0 errors, 0 warnings.
However when there is a problem, it will read:
[DeployTestApp_Package E:\Program Files (x86)\Microsoft BizTalk Server 
2009\btstask.exe] Command succeeded with 1 errors, 0 warnings.
The problem is the build status will reflect "Successful" but there will be 
a message indicating the step in which the above occurred.
If I could have it actually fail the build and not give a false positive is 
what I want.
My task looks like this:
        <exec>
            <description>Adding resources: Port Bindings Excel 
Spreadsheet</description>
            <executable>$(btscommand)</executable>
            <buildArgs>AddResource /A:$(name.prefix).$(ProjectName) /T:File 
/Ov 
/So:$(WorkingDir)\Test\$(ProjectName)$(ProjectType)\Bindings\SettingsFileGenerator.xml
 
</buildArgs>
        </exec>

I am hoping it's something I am missing or I need to do some kind of 
redirecting of the command line output so CCNet can properly interpret the 
success code?

Thanks, Tom

On Sunday, August 12, 2012 1:52:52 AM UTC-5, Ruben Willems wrote:
>
> Hi
>
> are these errors not seen in the build log?
> why look at the server log to see for errors of a certain build?
>
>
> with kind regards
> Ruben Willems
>
> On 9 August 2012 13:22, Tom Ruska <[email protected] <javascript:>> wrote:
>
>> Is there a way to display more then 100 lines of server log output on the 
>> web dashboard using the view server log plugin? I am running v1.8
>> I am using CCNet to build Biztalk solutions and running numerous commands 
>> to build and package the artifacts into an msi and the output of these 
>> commands are very verbose and when there is an error, it would be nice to 
>> view the log on the dashboard instead of viewing the log directly.
>>
>> Thanks, Tom
>>
>
>

Reply via email to