Hi Erwan, all,

I have currently setup a test environment for continuous integration with
Jenkins wereby I have following build/test setup configured:

   1. pull from svn trunk the latest code (works perfectly - triggers 2)
   2. Do ant targets "clean-all", "build" and "load-demo" (works perfectly
   - triggers 3)
   3. Do ant targets "download-cobertura" and "download-sonar-ant-task"
   (works perfectly - for later cobertura code analysis and reporting to the
   sonar instance - triggers 4)
   4. Do ant target "run-tests" (fails - see below - triggers 5 even when
   fails)
   5. Do ant target "cobertura-report-xml" (works perfectly triggers 6,
   when I have figured out howto)
   6. Do ant target "sonar" (not configured yet)

First of all what do you think of that approach?

Secondly,
Item # 4 fails on:

   1. not having ports for testing set right. See JIRA issue
4794<https://issues.apache.org/jira/browse/OFBIZ-4794>,
   which I have fixed locally
   2. not having a working build setting in framework/base/build.xml. See
   JIRA issue 4757 <https://issues.apache.org/jira/browse/OFBIZ-4757>
   3. on various test as it performs all unit tests available.

The output generated is extensive and overwhelming.

The question here is whether there is a list of all unit tests per
component and/or test suites per component so that I can do a more granular
testing per component and see what specific component test fails and what
goes well.

Regards,

Pierre


Op 6 april 2012 13:31 schreef Pierre Smits <[email protected]> het
volgende:

> Hi all,
>
> Thanks to Anne I was able to run the ant targets 'build' and 'load-demo'
> in my Jenkins after having pulled directly from svn.
>
> ....
>
> Regards,
>
> Pierre
>
>
> Op 31 maart 2012 13:08 schreef Pierre Smits <[email protected]> het
> volgende:
>
> Hi all,
>>
>> I am trying to build OFBiz through Jenkings, but get following message:
>>
>> Started by user Pierre Smits 
>> <http://sandbox.somonar.prd:8080/jenkins/user/Pierre%20Smits>
>> Updating http://svn.apache.org/repos/asf/ofbiz/trunk
>> U         framework/base/src/org/ofbiz/base/util/test/ObjectTypeTests.java
>> U         framework/base/src/org/ofbiz/base/util/ObjectType.java
>> At revision 1307764
>> [trunk] $ ant build
>> Buildfile: build.xml
>> BUILD 
>> FAILED/var/lib/tomcat6/webapps/jenkins/workspace/OFBIZ-Trunk/trunk/build.xml:25:
>>  The following error occurred while executing this line:
>> /var/lib/tomcat6/webapps/jenkins/workspace/OFBIZ-Trunk/trunk/macros.xml:26: 
>> No supported regular expression matcher found: 
>> java.lang.ClassNotFoundException: 
>> org.apache.tools.ant.util.regexp.Jdk14RegexpRegexp
>>
>> Total time: 0 seconds
>> Build step 'Invoke Ant' marked build as failure
>>
>> Does the error sound familiar? And how can I resolve this?
>>
>>
>>
>>
>> Regards,
>>
>>
>> Pierre
>>
>>
>

Reply via email to