prashantwason opened a new pull request #1232: [HUDI-529] Added cobertura 
coverage reporting support.
URL: https://github.com/apache/incubator-hudi/pull/1232
 
 
   ## What is the purpose of the pull request
   
   Hudi project has code coverage enabled via the jacoco plugin. Jenkins has 
better support for coverage reporting using the Jenkins Cobertura plugin. 
   
   This enhancement provides a way to convert the jacoco coverage report to 
cobertura format at the end of the unit test runs. 
   
   ## Brief change log
   1. Fixed the jacoco coverage settings
      - the jacoco agent was not being loaded as the SureFire plugins argLine 
was not set correctly
   2. The jacoco coverage report is converted to cobertura report format after 
test completion using the gradle jacobo plugin.
   3. There is a specific gradle job defined for the conversion. Modules which 
do not run tests use a "noop" job.
   4. When tests are skipped (-DskipTests) the gradle job is set to noop to 
prevent the conversion.
   
   ## Verify this pull request
   
   This pull request is a trivial rework / code cleanup without any test 
coverage.
   It has been tested to generate the coverage reports after a maven test.
   
   
   ## Committer checklist
   
    - [ ] Has a corresponding JIRA in PR title & commit
    
    - [ ] Commit message is descriptive of the change
    
    - [ ] CI is green
   
    - [ ] Necessary doc changes done or have another open PR
          
    - [ ] For large changes, please consider breaking it into sub-tasks under 
an umbrella JIRA.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to