Re: Multiple exec/errorstr entries?
Brian Kosick <[email protected]>
| Newsgroups | gmane.comp.java.cruise-control.user |
|---|---|
| Message-ID | <1255639453.2791.130.camel@localhost> |
Thanks Jeff, I wrote a wrapper. I suppose that this would be a good place to cut my Java teeth on,unfortunately it'll have to wait. Brian On Wed, 2009-10-14 at 18:57 -0600, Jeffrey Fredrick wrote: > 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/ > -- Brian Kosick CM Manager [email protected] [email protected] 720-895-4479 ------------------------------------------------------------------------------ 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