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

Multiple Files parsed, but only warnings of last parsed file shown/linked on dashboard

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • warnings-plugin
    • None
    • Debian wheezy, x86_64, Jenkins 1.559, Warnings Plug-in 4.40

      When parsing multiple workspace files (using "GNU Make + GNU C Compiler" Parser), only the last file's parsing results are linked to dashboard.

      Though, in console output both files are mentioned to be parsed properly.

      Console Output
      -------------- 8< -------------
      [WARNINGS] Parsing warnings in files 'buildTestUnits.log' with parser GNU Make + GNU C Compiler (gcc)
      [WARNINGS] Finding all files that match the pattern buildTestUnits.log
      [WARNINGS] Parsing 1 files in /var/lib/jenkins/jobs/foo/workspace
      [WARNINGS] Successfully parsed file /var/lib/jenkins/jobs/foo/workspace/buildTestUnits.log of module with 1 warnings.
      [WARNINGS] Parsing warnings in files 'buildProduct.log' with parser GNU Make + GNU C Compiler (gcc)
      [WARNINGS] Finding all files that match the pattern buildProduct.log
      [WARNINGS] Parsing 1 files in /var/lib/jenkins/jobs/foo/workspace
      [WARNINGS] Successfully parsed file /var/lib/jenkins/jobs/foo/workspace/buildProduct.log of module with 1 warnings.
      ---------------->8 -------------------

      Note: Content of files are ensured to be differently

      After successful build I have two entries "GNU Make + GNU C Compiler Warnings", at the dashboard menu on the left hand side, according to my job configuration.

      No matter which one is choosed, only the parsing results of the last file is shown. Both are linked to the same Jenkins-URL: http://jenkins:8080/job/foo/<buildNo>/warnings22Result/
      It appears that there is some issue in the hyperlink assignment for the dashboard.

      Same behavior appears when using combination "Scan console log" + "Scan workspace file"

            drulli Ulli Hafner
            thomasellinger Thomas Ellinger
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: