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

More correct and specific build state change reasons from Warnings

    Details

    • Similar Issues:

      Description

      I got this in my jobs console.

      [WARNINGS] Setting build status to FAILURE since total number of annotations exceeds the threshold 200: [HIGH, NORMAL, LOW]

      Two issues.
      1. text says total, but this was actually a "compute status since reference build (new) gate.
      2. text should say which specific criteria was exceeded
      3. it doesn't tell you what the actual number/difference was

      E.g.

      [WARNINGS] Setting build status to FAILURE since number, 234, of new HIGH annotations exceeds the threshold of 200 by 34 or 17%.

        Attachments

          Activity

          Hide
          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/AbstractResultAction.java
          src/main/java/hudson/plugins/analysis/core/BuildResult.java
          src/main/java/hudson/plugins/analysis/core/BuildResultEvaluator.java
          src/main/java/hudson/plugins/analysis/core/HealthAwarePublisher.java
          src/main/java/hudson/plugins/analysis/core/HealthAwareReporter.java
          src/main/java/hudson/plugins/analysis/core/MavenResultAction.java
          src/main/java/hudson/plugins/analysis/core/ReporterDescriptor.java
          src/main/resources/hudson/plugins/analysis/Messages.properties
          src/main/resources/hudson/plugins/analysis/Messages_de.properties
          src/test/java/hudson/plugins/analysis/core/BuildResultEvaluatorTest.java
          http://jenkins-ci.org/commit/analysis-core-plugin/b72cda9a98a5d11b5b4be355bf87d9aa30f55e86
          Log:
          JENKINS-12424 Added links to new and priority warnings.

          Show
          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/AbstractResultAction.java src/main/java/hudson/plugins/analysis/core/BuildResult.java src/main/java/hudson/plugins/analysis/core/BuildResultEvaluator.java src/main/java/hudson/plugins/analysis/core/HealthAwarePublisher.java src/main/java/hudson/plugins/analysis/core/HealthAwareReporter.java src/main/java/hudson/plugins/analysis/core/MavenResultAction.java src/main/java/hudson/plugins/analysis/core/ReporterDescriptor.java src/main/resources/hudson/plugins/analysis/Messages.properties src/main/resources/hudson/plugins/analysis/Messages_de.properties src/test/java/hudson/plugins/analysis/core/BuildResultEvaluatorTest.java http://jenkins-ci.org/commit/analysis-core-plugin/b72cda9a98a5d11b5b4be355bf87d9aa30f55e86 Log: JENKINS-12424 Added links to new and priority warnings.
          Hide
          drulli Ulli Hafner added a comment -

          Integrated in Jenkins Analysis Plug-ins (Compile) #502
          JENKINS-12424 Added links to new and priority warnings. (Revision b72cda9a98a5d11b5b4be355bf87d9aa30f55e86)

          Result = SUCCESS

          Show
          drulli Ulli Hafner added a comment - Integrated in Jenkins Analysis Plug-ins (Compile) #502 JENKINS-12424 Added links to new and priority warnings. (Revision b72cda9a98a5d11b5b4be355bf87d9aa30f55e86) Result = SUCCESS
          Hide
          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/BuildResultEvaluator.java
          src/main/resources/hudson/plugins/analysis/Messages.properties
          src/main/resources/hudson/plugins/analysis/Messages_de.properties
          http://jenkins-ci.org/commit/analysis-core-plugin/5c21e8054698196040a75cf4f18944b8bef94d51
          Log:
          [Fixed JENKINS-12424] Added messages for one warning.

          Show
          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/BuildResultEvaluator.java src/main/resources/hudson/plugins/analysis/Messages.properties src/main/resources/hudson/plugins/analysis/Messages_de.properties http://jenkins-ci.org/commit/analysis-core-plugin/5c21e8054698196040a75cf4f18944b8bef94d51 Log: [Fixed JENKINS-12424] Added messages for one warning.
          Hide
          drulli Ulli Hafner added a comment -

          Integrated in Jenkins Analysis Plug-ins (Compile) #505
          [Fixed JENKINS-12424] Added messages for one warning. (Revision 5c21e8054698196040a75cf4f18944b8bef94d51)

          Result = SUCCESS

          Show
          drulli Ulli Hafner added a comment - Integrated in Jenkins Analysis Plug-ins (Compile) #505 [Fixed JENKINS-12424] Added messages for one warning. (Revision 5c21e8054698196040a75cf4f18944b8bef94d51) Result = SUCCESS
          Hide
          dogfood dogfood added a comment -

          Integrated in plugins_analysis-core #10451
          JENKINS-12424 Added links to new and priority warnings. (Revision b72cda9a98a5d11b5b4be355bf87d9aa30f55e86)
          [Fixed JENKINS-12424] Added messages for one warning. (Revision 5c21e8054698196040a75cf4f18944b8bef94d51)

          Result = SUCCESS
          Ulli Hafner :
          Files :

          • src/main/java/hudson/plugins/analysis/core/ReporterDescriptor.java
          • src/main/java/hudson/plugins/analysis/core/HealthAwarePublisher.java
          • src/test/java/hudson/plugins/analysis/core/BuildResultEvaluatorTest.java
          • src/main/java/hudson/plugins/analysis/core/MavenResultAction.java
          • src/main/java/hudson/plugins/analysis/core/BuildResult.java
          • src/main/resources/hudson/plugins/analysis/Messages_de.properties
          • src/main/java/hudson/plugins/analysis/core/BuildResultEvaluator.java
          • src/main/java/hudson/plugins/analysis/core/HealthAwareReporter.java
          • src/main/resources/hudson/plugins/analysis/Messages.properties
          • src/main/java/hudson/plugins/analysis/core/AbstractResultAction.java

          Ulli Hafner :
          Files :

          • src/main/resources/hudson/plugins/analysis/Messages_de.properties
          • src/main/java/hudson/plugins/analysis/core/BuildResultEvaluator.java
          • src/main/resources/hudson/plugins/analysis/Messages.properties
          Show
          dogfood dogfood added a comment - Integrated in plugins_analysis-core #10451 JENKINS-12424 Added links to new and priority warnings. (Revision b72cda9a98a5d11b5b4be355bf87d9aa30f55e86) [Fixed JENKINS-12424] Added messages for one warning. (Revision 5c21e8054698196040a75cf4f18944b8bef94d51) Result = SUCCESS Ulli Hafner : Files : src/main/java/hudson/plugins/analysis/core/ReporterDescriptor.java src/main/java/hudson/plugins/analysis/core/HealthAwarePublisher.java src/test/java/hudson/plugins/analysis/core/BuildResultEvaluatorTest.java src/main/java/hudson/plugins/analysis/core/MavenResultAction.java src/main/java/hudson/plugins/analysis/core/BuildResult.java src/main/resources/hudson/plugins/analysis/Messages_de.properties src/main/java/hudson/plugins/analysis/core/BuildResultEvaluator.java src/main/java/hudson/plugins/analysis/core/HealthAwareReporter.java src/main/resources/hudson/plugins/analysis/Messages.properties src/main/java/hudson/plugins/analysis/core/AbstractResultAction.java Ulli Hafner : Files : src/main/resources/hudson/plugins/analysis/Messages_de.properties src/main/java/hudson/plugins/analysis/core/BuildResultEvaluator.java src/main/resources/hudson/plugins/analysis/Messages.properties

            People

            • Assignee:
              drulli Ulli Hafner
              Reporter:
              moncreaff Greg Moncreaff
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: