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

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

    • 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"

          [JENKINS-22653] Multiple Files parsed, but only warnings of last parsed file shown/linked on dashboard

          Ulli Hafner added a comment -

          Please post any comments regarding the suggested visualization of this use case in JENKINS-18708.

          Ulli Hafner added a comment - Please post any comments regarding the suggested visualization of this use case in JENKINS-18708 .

          Warnings Plugin currently does only show warnings parsed out of the last of multiple files given, which might not be the behaviour intended?

          Thomas Ellinger added a comment - Warnings Plugin currently does only show warnings parsed out of the last of multiple files given, which might not be the behaviour intended?

          Ulli Hafner added a comment -

          Hmm, but the actual requirement is the same, or am I missing something?

          Ulli Hafner added a comment - Hmm, but the actual requirement is the same, or am I missing something?

          Ulli Hafner added a comment -

          Closing this issue as the feature request JENKINS-18708 will gather all requirements on how to implement multiple parser scans with the same parser.

          Ulli Hafner added a comment - Closing this issue as the feature request JENKINS-18708 will gather all requirements on how to implement multiple parser scans with the same parser.

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

              Created:
              Updated:
              Resolved: