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

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

    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

            Hide
            drulli Ulli Hafner added a comment -

            Should be fixed with JENKINS-31202.

            Show
            drulli Ulli Hafner added a comment - Should be fixed with JENKINS-31202 .
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Stephen Connolly
            Path:
            pom.xml
            src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubRepositoryEventSubscriber.java
            src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubSCMNavigator.java
            src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubSCMSource.java
            src/main/java/org/jenkinsci/plugins/github_branch_source/PullRequestGHEventSubscriber.java
            src/main/java/org/jenkinsci/plugins/github_branch_source/PushGHEventSubscriber.java
            http://jenkins-ci.org/commit/github-branch-source-plugin/ef13b2f678b2da8f4901ed757d2dceaa4aacdcdd
            Log:
            Make releasable before JENKINS-39533

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Stephen Connolly Path: pom.xml src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubRepositoryEventSubscriber.java src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubSCMNavigator.java src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubSCMSource.java src/main/java/org/jenkinsci/plugins/github_branch_source/PullRequestGHEventSubscriber.java src/main/java/org/jenkinsci/plugins/github_branch_source/PushGHEventSubscriber.java http://jenkins-ci.org/commit/github-branch-source-plugin/ef13b2f678b2da8f4901ed757d2dceaa4aacdcdd Log: Make releasable before JENKINS-39533
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Stephen Connolly
            Path:
            src/main/java/com/cloudbees/jenkins/Cleaner.java
            src/main/java/com/cloudbees/jenkins/GitHubPushTrigger.java
            src/main/java/com/cloudbees/jenkins/GitHubRepositoryNameContributor.java
            src/main/java/com/cloudbees/jenkins/GitHubTrigger.java
            src/main/java/com/cloudbees/jenkins/GitHubWebHook.java
            src/main/java/org/jenkinsci/plugins/github/config/GitHubPluginConfig.java
            src/main/java/org/jenkinsci/plugins/github/extension/GHEventsSubscriber.java
            src/main/java/org/jenkinsci/plugins/github/util/FluentIterableWrapper.java
            src/main/java/org/jenkinsci/plugins/github/util/JobInfoHelpers.java
            src/main/java/org/jenkinsci/plugins/github/webhook/WebhookManager.java
            src/main/java/org/jenkinsci/plugins/github/webhook/subscriber/DefaultPushGHEventSubscriber.java
            src/main/java/org/jenkinsci/plugins/github/webhook/subscriber/PingGHEventSubscriber.java
            src/test/java/com/cloudbees/jenkins/GitHubWebHookTest.java
            src/test/java/org/jenkinsci/plugins/github/admin/GitHubHookRegisterProblemMonitorTest.java
            src/test/java/org/jenkinsci/plugins/github/extension/GHEventsSubscriberTest.java
            src/test/java/org/jenkinsci/plugins/github/test/GHMockRule.java
            src/test/java/org/jenkinsci/plugins/github/util/JobInfoHelpersTest.java
            src/test/java/org/jenkinsci/plugins/github/webhook/WebhookManagerTest.java
            http://jenkins-ci.org/commit/github-plugin/bd2e945b329ed86af1b5ab52358c87e50e3fb4aa
            Log:
            [FIXED JENKINS-39553] Make GitHub plugin BuildableItem aware (#153)

            • [FIXED JENKINS-39533] Make GitHub plugin BuildableItem aware
            • Address code review comments from Oleg
            • not actually deprecated
            • Address review comments
            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Stephen Connolly Path: src/main/java/com/cloudbees/jenkins/Cleaner.java src/main/java/com/cloudbees/jenkins/GitHubPushTrigger.java src/main/java/com/cloudbees/jenkins/GitHubRepositoryNameContributor.java src/main/java/com/cloudbees/jenkins/GitHubTrigger.java src/main/java/com/cloudbees/jenkins/GitHubWebHook.java src/main/java/org/jenkinsci/plugins/github/config/GitHubPluginConfig.java src/main/java/org/jenkinsci/plugins/github/extension/GHEventsSubscriber.java src/main/java/org/jenkinsci/plugins/github/util/FluentIterableWrapper.java src/main/java/org/jenkinsci/plugins/github/util/JobInfoHelpers.java src/main/java/org/jenkinsci/plugins/github/webhook/WebhookManager.java src/main/java/org/jenkinsci/plugins/github/webhook/subscriber/DefaultPushGHEventSubscriber.java src/main/java/org/jenkinsci/plugins/github/webhook/subscriber/PingGHEventSubscriber.java src/test/java/com/cloudbees/jenkins/GitHubWebHookTest.java src/test/java/org/jenkinsci/plugins/github/admin/GitHubHookRegisterProblemMonitorTest.java src/test/java/org/jenkinsci/plugins/github/extension/GHEventsSubscriberTest.java src/test/java/org/jenkinsci/plugins/github/test/GHMockRule.java src/test/java/org/jenkinsci/plugins/github/util/JobInfoHelpersTest.java src/test/java/org/jenkinsci/plugins/github/webhook/WebhookManagerTest.java http://jenkins-ci.org/commit/github-plugin/bd2e945b329ed86af1b5ab52358c87e50e3fb4aa Log: [FIXED JENKINS-39553] Make GitHub plugin BuildableItem aware (#153) [FIXED JENKINS-39533] Make GitHub plugin BuildableItem aware Address code review comments from Oleg not actually deprecated Address review comments

              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: