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

no graph displayed from warnings plugin in multi-branch-pipeline project

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      I added the following to my jenkinsfile:
      stage ('Warnings gcc')

      { step([$class: 'WarningsPublisher', canComputeNew: false, canResolveRelativePaths: false, defaultEncoding: '', excludePattern: '', healthy: '', includePattern: '', messagesPattern: '', parserConfigurations: [[parserName: 'GNU Make + GNU C Compiler (gcc)', pattern: 'error_and_warnings.txt']], unHealthy: '']) }

      stage ('Warnings clang')

      { step([$class: 'WarningsPublisher', canComputeNew: false, canResolveRelativePaths: false, defaultEncoding: '', excludePattern: '', healthy: '', includePattern: '', messagesPattern: '', parserConfigurations: [[parserName: 'Clang (LLVM based)', pattern: 'error_and_warnings_clang.txt']], unHealthy: '']) }

      And get the logs ( Stage logs ):
      [WARNINGS] Parsing warnings in files 'error_and_warnings.txt' with parser GNU Make + GNU C Compiler (gcc)
      [WARNINGS] Finding all files that match the pattern error_and_warnings.txt
      [WARNINGS] Parsing 1 file in /home/jenkins/workspace/multibrach1_new_branch_001-BS43Z4K6ZIS5GYHNACODUZICSSNFL6N7QBEVH4WYM3M67DI7ZWWQ
      [WARNINGS] Successfully parsed file /home/jenkins/workspace/multibrach1_new_branch_001-BS43Z4K6ZIS5GYHNACODUZICSSNFL6N7QBEVH4WYM3M67DI7ZWWQ/error_and_warnings.txt with 0 unique warnings and 0 duplicates.
      [WARNINGS] Computing warning deltas based on reference build #1

      and for clang:
      [WARNINGS] Parsing warnings in files 'error_and_warnings_clang.txt' with parser Clang (LLVM based)
      [WARNINGS] Finding all files that match the pattern error_and_warnings_clang.txt
      [WARNINGS] Parsing 1 file in /home/jenkins/workspace/multibrach1_new_branch_001-BS43Z4K6ZIS5GYHNACODUZICSSNFL6N7QBEVH4WYM3M67DI7ZWWQ
      [WARNINGS] Successfully parsed file /home/jenkins/workspace/multibrach1_new_branch_001-BS43Z4K6ZIS5GYHNACODUZICSSNFL6N7QBEVH4WYM3M67DI7ZWWQ/error_and_warnings_clang.txt with 3 unique warnings and 0 duplicates.
      [WARNINGS] Computing warning deltas based on reference build #1

      Looks ok for me, but I see no results! There is no graph displayed! The graph for unit test results ( gtest ) works in this view!

        Attachments

          Issue Links

            Activity

            krud Klaus Rudolph created issue -
            krud Klaus Rudolph made changes -
            Field Original Value New Value
            Environment Jenkins 2.28
            Static Analysis Collector Plug-in 1.48
            Warnings Plug-in 4.57
            mjdetullio Matthew DeTullio made changes -
            Component/s workflow-multibranch-plugin [ 21465 ]
            Component/s multi-branch-project-plugin [ 21127 ]
            mjdetullio Matthew DeTullio made changes -
            Assignee Matthew DeTullio [ mjdetullio ] Ulli Hafner [ drulli ]
            drulli Ulli Hafner made changes -
            Resolution Fixed [ 1 ]
            Status Open [ 1 ] Resolved [ 5 ]
            jglick Jesse Glick made changes -
            Link This issue duplicates JENKINS-31202 [ JENKINS-31202 ]

              People

              Assignee:
              drulli Ulli Hafner
              Reporter:
              krud Klaus Rudolph
              Votes:
              3 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: