Architecture (meta) #2192
Make cobertura, jenkins and Maven 3 work together
| Status: | Released | Start date: | 2012-01-24 | |
|---|---|---|---|---|
| Priority: | 1 | Due date: | ||
| Assignee: | % Done: | 100% |
||
| Category: | Architecture - Dependencies | |||
| Target version: | 2.4.0~beta3 | |||
| Needs translating: | No |
Description
They don't seems to want to for now: coverage.xml are not generated anymore.
Related issues
Associated revisions
Fixes #2192: make cobertura generate coverage.xml reports even with maven 3
History
#1
Updated by Jonathan CLARKE over 1 year ago
- Subject changed from Make cobertura, jenkins and Maven work together to Make cobertura, jenkins and Maven 3 work together
- Description updated (diff)
#2
Updated by Jonathan CLARKE over 1 year ago
- Category set to Architecture - Dependencies
#3
Updated by Jonathan CLARKE 12 months ago
- Assignee set to François ARMAND
- Priority changed from N/A to 1
- Target version changed from Ideas (2.5 specific) to 46
I just tested again, and Jenkins gives us this:
[INFO] --- cobertura-maven-plugin:2.5.1:instrument (default-cli) @ commons-parent --- [INFO] Skipping cobertura mojo for project with packaging type 'pom' [INFO] [INFO] --- scala-maven-plugin:3.0.2:testCompile (scala-test-compile) @ commons-parent --- [INFO] Checking for multiple versions of scala [WARNING] Expected all dependencies to require Scala version: 2.9.2 [WARNING] com.normation:commons-parent:2.5.0-20120531.221903-18 requires scala version: 2.9.2 [WARNING] net.liftweb:lift-common_2.9.1:2.4 requires scala version: 2.9.1 [WARNING] Multiple versions of scala libraries detected! [INFO] includes = [**/*.scala,**/*.java,] [INFO] excludes = [] [WARNING] No source files found. [INFO] [INFO] <<< cobertura-maven-plugin:2.5.1:cobertura (default-cli) @ commons-parent <<< [INFO] [INFO] --- cobertura-maven-plugin:2.5.1:cobertura (default-cli) @ commons-parent --- [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] spring-run-dependencies ........................... SUCCESS [8.063s] [INFO] utils ............................................. SUCCESS [40.835s] [INFO] authorization-api ................................. SUCCESS [7.093s] [INFO] eventlog-api ...................................... SUCCESS [22.401s] [INFO] historization-api ................................. SUCCESS [27.914s] [INFO] commons-parent .................................... SUCCESS [0.463s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1:57.873s [INFO] Finished at: Fri Jun 01 00:19:04 CEST 2012 [INFO] Final Memory: 15M/143M [INFO] ------------------------------------------------------------------------ Publishing Cobertura coverage report... No coverage results were found using the pattern '**/target/site/cobertura/coverage.xml' relative to '/var/lib/jenkins/jobs/rudder-commons-2.5-branch/workspace'. Did you enter a pattern relative to the correct directory? Did you generate the XML report(s) for Cobertura? Build step 'Publish Cobertura Coverage Report' changed build result to FAILURE IRC notifier plugin: Sending notification to: #rudder-dev Sending e-mails to: developpeurs@lists.normation.com Finished: FAILURE
#4
Updated by Jonathan CLARKE 12 months ago
By the way, our Jenkins uses Maven 3.0.4. We can try a more recent version if necessary?
#5
Updated by François ARMAND 12 months ago
- Status changed from New to Pending technical review
- % Done changed from 0 to 100
Applied in changeset commit:7e5dc2df815be99050d91a81e8cde0629d5edd4a.
#6
Updated by Nicolas CHARLES 12 months ago
- Status changed from Pending technical review to Pending functional review
This looks valid, thank you Francois
#7
Updated by Jonathan CLARKE 12 months ago
- Tracker changed from User story (meta) to Architecture (meta)
- Status changed from Pending functional review to Released
This is clearly not a user story!
#8
Updated by Jonathan CLARKE 10 months ago
- Target version changed from 46 to 50
#9
Updated by Jonathan CLARKE 10 months ago
- Target version changed from 50 to 2.4.0~beta3