Re: Multiple exec/errorstr entries?

Jeffrey Fredrick <[email protected]>
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <[email protected]>
Hi Brian,
Looking at the code in ExecScript.java I can see that it is just doing a
simple check to see if a line contains the error string (), nothing fancy
like a regular expression or supporting multiple error strings.

If you wanted to develop a patch to add regular expressions I'd be happy to
commit it, but in the short run you might consider using a wrapper script
that could check for those errors and then return a standardized failure
message.

Jtf


On Wed, Oct 14, 2009 at 3:56 PM, Brian Kosick <[email protected]> wrote:

> Hi All,
>
> I've setup CC 2.8.2 to run a batch file setup to build a VS2008 project,
> I'm looking to search for multiple error strings in the log output, CC
> refuses to start when I have more than one errstr entry.   Can I use
> regex's?  Is there a way to do this?
>
> Doesn't work
> <schedule interval="31536000">
> <exec command="C:\WDSConnector\build_WDSConnector.bat"
>         workingdir="C:\WDSConnector\"
> args="build remote"
> errorstr="1 failed"
>         errorstr="No such file or directory"/>
>    </schedule>
>
> Can I do:
>
> <schedule interval="31536000">
> <exec command="C:\WDSConnector\build_WDSConnector.bat"
>         workingdir="C:\WDSConnector\"
> args="build remote"
> errorstr="1 failed|No such file or directory:Cannot find specified
> file" />
>    </schedule>
>
> Thanks,
>
> --
> Brian Kosick
>
> CM Manager
> [email protected]
> [email protected]
> 720-895-4479
>
>

-- 
CITCON
Continuous Integration and Testing Conference
http://www.citconf.com/

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference

_______________________________________________
Cruisecontrol-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.