www-infrastructure-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gavin (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (INFRA-9863) Add Apache Olingo to Sonar
Date Thu, 09 Jul 2015 14:16:04 GMT

     [ https://issues.apache.org/jira/browse/INFRA-9863?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Gavin updated INFRA-9863:
    Status: Waiting for user  (was: Waiting for Infra)

Ok, finally got the build to pass! It wasnt without issues, here is what I did to get it to
that stage:

1. Changed from a Jenkins Maven Type Job to a FreeStyle job - Jenkins version above version
1.609.1 has issues with Java 6 and Maven Job Types, and we run 1.617 - switching to a FreeStyle
job is the preferred fix.

Your build runs on Maven 3.2.2 and Java 1.6.0_45 and using your recomended JVM memory args.

Then the Sonar part of the job was failing as it doesnt like the above Maven\Java combo, eventually
found that switching the Sonar part of the build to Use Maven 3.1.1 and Java 1.7.0_65 fixed
that part and now the whole build passes successfully.

I specified clean install -U -DskipTests -fae -Dmaven.test.skip=true -Dsonar.skipPackageDesign=true
in the Maven Goals section.

The build will run once a day.

You'll find the relevant builds at:

Jenkins: https://analysis.apache.org/jenkins/job/Olingo%20odata4/7/ 
console output: https://analysis.apache.org/jenkins/job/Olingo%20odata4/7/console 

Sonar: https://analysis.apache.org/dashboard/index/218408 

Let me know if you need any tweaks or if we are now done.


> Add Apache Olingo to Sonar
> --------------------------
>                 Key: INFRA-9863
>                 URL: https://issues.apache.org/jira/browse/INFRA-9863
>             Project: Infrastructure
>          Issue Type: Task
>          Components: Analysis
>            Reporter: Michael Bolz
>            Assignee: Gavin
>              Labels: #bugbash
> * git url : https://git-wip-us.apache.org/repos/asf/olingo-odata4.git
> * pom path: -
> * maven version: 3.2.2  (latest Maven 3)
> * jdk version: jdk1.6.0_45 (latest JDK 6) 
> * maven profiles to use:  -
> * maven build properties: - 

This message was sent by Atlassian JIRA

View raw message