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

[Compiler Warnings plugin] Compiler Warnings Trend not showing failed build results

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Fixed
    • warnings-plugin
    • Jenkins ver. 1.435, windows XP, Warnings Plug-in 3.24

    Description

      I am using the Warnings Plugin in a Jenkins job but I am experiencing some problems with the trend graphic.

      My configuration scenario is:

      Job Configuration:

      Discard old builds option enabled with parameters: Max # of builds to keep=20 and Max # of builds to keep with artifacts=20
      Post Build Action Scan for compiler warnings configured with Run Always option enabled and:

      The result of the scan will fail or not the build (one or more warnings detected will lead to a failed build).

      Graph Configuration:

      In my procedure, I ran some builds of the configured job and as result the trend graph was:

      But I expected to see builds 149 and 150 warning results as well in this graphic.

      Also I realized that if a build doesn't have warnings (successful build) as build 154 the graphic will be appear like:

      And I was expecting to have a graph with an history of all warnings in this case since build 149.

      What kind of configuration should be modified/added to be possible to have a graph with an history of all warnings since build 149?

      Attachments

        Activity

          Code changed in jenkins
          User: Ulli Hafner
          Path:
          src/main/java/hudson/plugins/analysis/core/BuildHistory.java
          src/test/java/hudson/plugins/analysis/core/BuildHistoryTest.java
          http://jenkins-ci.org/commit/analysis-core-plugin/e7ce3bc5e1c6c3b761c22fd5e240b46cf7ede41a
          Log:
          [FIXED JENKINS-12342] Show results of failed builds if the plugin caused
          the failure.

          Compare: https://github.com/jenkinsci/analysis-core-plugin/compare/b506c418b4b3...e7ce3bc5e1c6


          You received this message because you are subscribed to the Google Groups "Jenkins Commits" group.
          To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-commits+unsubscribe@googlegroups.com.
          For more options, visit https://groups.google.com/groups/opt_out.

          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Ulli Hafner Path: src/main/java/hudson/plugins/analysis/core/BuildHistory.java src/test/java/hudson/plugins/analysis/core/BuildHistoryTest.java http://jenkins-ci.org/commit/analysis-core-plugin/e7ce3bc5e1c6c3b761c22fd5e240b46cf7ede41a Log: [FIXED JENKINS-12342] Show results of failed builds if the plugin caused the failure. Compare: https://github.com/jenkinsci/analysis-core-plugin/compare/b506c418b4b3...e7ce3bc5e1c6 – You received this message because you are subscribed to the Google Groups "Jenkins Commits" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-commits+unsubscribe@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out .
          drulli Ulli Hafner added a comment -

          Integrated in Jenkins Analysis Plug-ins (Compile) #609
          [FIXED JENKINS-12342] Show results of failed builds if the plugin caused (Revision e7ce3bc5e1c6c3b761c22fd5e240b46cf7ede41a)

          Result = SUCCESS

          drulli Ulli Hafner added a comment - Integrated in Jenkins Analysis Plug-ins (Compile) #609 [FIXED JENKINS-12342] Show results of failed builds if the plugin caused (Revision e7ce3bc5e1c6c3b761c22fd5e240b46cf7ede41a) Result = SUCCESS

          People

            drulli Ulli Hafner
            pedrofsamaral Pedro Amaral
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: