Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-72448

Use correct logging prefix for all selected tools

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • coverage-plugin
    • None
    • Coverage Plugin 1.6.0

      Having a setup like this:

       

            recordCoverage(
                failOnError: false,
                ignoreParsingErrors: true,
                sourceCodeRetention: 'LAST_BUILD',
                sourceCodeEncoding: 'UTF-8',
                sourceDirectories: [[path: 'glob:**/src/main/java'],
                                    [path: 'glob:**/target/generated-sources/*']],
                tools: [
                    [parser: 'JACOCO', pattern: '**/target/site/jacoco-ut/jacoco.xml,**/target/site/jacoco-it/jacoco.xml'],
                    [parser: 'COBERTURA', pattern: '**/target/coverage-reports/cobertura-coverage.xml']])

       

       

      I see the following log messages:

      [Cobertura Coverage Reports] Successfully parsed file '/home/jenkins/agent/workspace/sting_feature_testinfrastructure/lib-testing/easy-hibernate/target/site/jacoco-ut/jacoco.xml'

      Every additional parser added will process all files specified from the previous parser patterns. This is really misleading.

       

       

            drulli Ulli Hafner
            reitzmichnicht Michael Düsterhus
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: