Re: Cruisecontrol not showing test results
Amit Kumar <[email protected]>
| Newsgroups | gmane.comp.java.cruise-control.user |
|---|---|
| Message-ID | <[email protected]> |
I could resolve the issue Issue was <bootstrappers> and <schedule> both have ant abut pointing different targets. basically it was deleting the testreport directory. This is fixed now I am facing that iven if a test fails it is showing all passed. On Mon, Nov 1, 2010 at 2:57 PM, Amit Kumar <[email protected]> wrote: > Hi All, > I am using CC 2.8 After running the build in the result page it is showing > there is no test <http://www.javaranch.com/unit-testing.jsp> run. But I > have 2 test cases to run. And both test cases run successfully when the > build runs by cruise control. > Following is my config file > <Cruisecontrol> > <project name="MyFerEJB" buildafterfailed="true"> > <listeners> > <currentbuildstatuslistener > file="logs/${project.name}/status.txt"/> > </listeners> > > <bootstrappers> > <antbootstrapper anthome="apache-ant-1.7.0" > buildfile="projects/${project.name}/build.xml" target="cover-test"/> > </bootstrappers> > > <modificationset quietperiod="300" > > <!-- touch any file in project to trigger a build --> > <filesystem folder="projects/${project.name}/ejbModule"/> > </modificationset> > > <schedule interval="30"> > <ant anthome="apache-ant-1.7.0" > buildfile="projects/${project.name}/build.xml"/> > </schedule> > > <log> > <merge > dir="projects/${project.name}/cobertura/reports/junit-xml"/> > </log> > > <publishers> > <onsuccess> > <artifactspublisher dest="artifacts/${project.name}" > file="projects/${project.name}/${project.name}.jar"/> > </onsuccess> > </publishers> > > </project> > </cruisecontrol> > Any pointer will help. Thanks in advance. > Thanks > Amit > ------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev _______________________________________________ Cruisecontrol-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user